pub enum Authenticated {
None,
User(Arc<Principal>),
Refused,
Superadmin(Arc<Superadmin>),
}Variants§
None
No isb credential: fall back to the listener’s own notion of caller.
User(Arc<Principal>)
Refused
A credential was presented and is not valid.
Superadmin(Arc<Superadmin>)
The unix socket’s reach: a superadmin token or a tailnet identity on the allow list.
Auto Trait Implementations§
impl Freeze for Authenticated
impl RefUnwindSafe for Authenticated
impl Send for Authenticated
impl Sync for Authenticated
impl Unpin for Authenticated
impl UnsafeUnpin for Authenticated
impl UnwindSafe for Authenticated
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