pub struct AuthenticationTap<'a, H> {
pub control: &'a mut AuthenticationControl,
pub handler: H,
}
Expand description
Authentication state and handler used to tap into the client authentication process in an event handler.
Fields§
§control: &'a mut AuthenticationControl
§handler: H
An event handler that authenticates a client with an AP.
The event handler must accept AuthenticationControl
state and AuthenticationEvent
events.
Trait Implementations§
Auto Trait Implementations§
impl<'a, H> Freeze for AuthenticationTap<'a, H>where
H: Freeze,
impl<'a, H> !RefUnwindSafe for AuthenticationTap<'a, H>
impl<'a, H> Send for AuthenticationTap<'a, H>where
H: Send,
impl<'a, H> !Sync for AuthenticationTap<'a, H>
impl<'a, H> Unpin for AuthenticationTap<'a, H>where
H: Unpin,
impl<'a, H> !UnwindSafe for AuthenticationTap<'a, H>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more