pub struct Authorized<P: AuthProvider>(/* private fields */);Expand description
Typestate marker: an auth source P is wired in. Only in this state does
AuthorizedServer implement ServerHandler.
Trait Implementations§
impl<P: AuthProvider> ReadyToServe for Authorized<P>
Auto Trait Implementations§
impl<P> Freeze for Authorized<P>where
P: Freeze,
impl<P> RefUnwindSafe for Authorized<P>where
P: RefUnwindSafe,
impl<P> Send for Authorized<P>
impl<P> Sync for Authorized<P>
impl<P> Unpin for Authorized<P>where
P: Unpin,
impl<P> UnsafeUnpin for Authorized<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for Authorized<P>where
P: UnwindSafe,
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