pub struct NoAuth;Expand description
Typestate marker: no auth source has been chosen yet.
An AuthorizedServer<S, NoAuth> is a builder — it deliberately does not
implement ServerHandler, so it cannot be served over any transport. You
must first choose how requests get an AuthContext:
with_auth (required for network transports)
or deny_by_default (ergonomic for
stdio/dev).
Auto Trait Implementations§
impl Freeze for NoAuth
impl RefUnwindSafe for NoAuth
impl Send for NoAuth
impl Sync for NoAuth
impl Unpin for NoAuth
impl UnsafeUnpin for NoAuth
impl UnwindSafe for NoAuth
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