pub enum AuthError {
InvalidZeroSession,
InvalidAuthType(u8),
InvalidPrivilegeLevel(u8),
}Variants§
InvalidZeroSession
A non-zero session ID was received at a stage where non-zero session numbers are not allowed.
InvalidAuthType(u8)
An invalid auth type was encountered.
InvalidPrivilegeLevel(u8)
An unknown privilege level was encountered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthError
impl RefUnwindSafe for AuthError
impl Send for AuthError
impl Sync for AuthError
impl Unpin for AuthError
impl UnwindSafe for AuthError
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