pub enum Auth {
Token(Vec<u8>),
Mtls(MtlsClaim),
}Expand description
How the client authenticates after WELCOME. Auth is mandatory: there is no
anonymous mode. The credential is the connection’s whole identity — the
server resolves (namespace, space, permissions) from it and refuses any
connection it cannot resolve.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnsafeUnpin for Auth
impl UnwindSafe for Auth
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