#[repr(u32)]pub enum ScramServerError {
None = 0,
InvalidEncoding = 1,
ExtensionsNotSupported = 2,
InvalidProof = 3,
ChannelBindingsDontMatch = 4,
ServerDoesSupportChannelBinding = 5,
ChannelBindingNotSupported = 6,
UnsupportedChannelBindingType = 7,
UnknownUser = 8,
InvalidUsernameEncoding = 9,
NoResources = 10,
OtherError = 11,
}
Variants§
None = 0
Same as OtherError
InvalidEncoding = 1
ExtensionsNotSupported = 2
unrecognized ‘m’ value
InvalidProof = 3
ChannelBindingsDontMatch = 4
ServerDoesSupportChannelBinding = 5
ChannelBindingNotSupported = 6
UnsupportedChannelBindingType = 7
UnknownUser = 8
Unused, if user was not found a mock auth is performed
and InvalidProof
is sent.
InvalidUsernameEncoding = 9
NoResources = 10
OtherError = 11
For any errors that may disclose sensitive information
Trait Implementations§
Source§impl Clone for ScramServerError
impl Clone for ScramServerError
Source§fn clone(&self) -> ScramServerError
fn clone(&self) -> ScramServerError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScramServerError
impl Debug for ScramServerError
Source§impl Display for ScramServerError
impl Display for ScramServerError
Source§impl From<&str> for ScramServerError
impl From<&str> for ScramServerError
Source§impl PartialEq for ScramServerError
impl PartialEq for ScramServerError
impl Copy for ScramServerError
impl Eq for ScramServerError
impl StructuralPartialEq for ScramServerError
Auto Trait Implementations§
impl Freeze for ScramServerError
impl RefUnwindSafe for ScramServerError
impl Send for ScramServerError
impl Sync for ScramServerError
impl Unpin for ScramServerError
impl UnwindSafe for ScramServerError
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