#[repr(u32)]pub enum ScramErrorCode {
InternalError = 0,
VerificationError = 1,
ExternalError = 2,
MalformedScramMsg = 3,
FeatureNotSupported = 4,
ProtocolViolation = 5,
AuthSeqCompleted = 6,
ClientSide = 7,
ChanBindNotImplemented = 8,
}
Expand description
Error code
Variants§
InternalError = 0
Error happened inside lib
VerificationError = 1
Error during verification of proof or other value
ExternalError = 2
Error which occurs outside of the lib
MalformedScramMsg = 3
Error due malformed SCRAM message
FeatureNotSupported = 4
Error which occure when unsupported options are included in received msg
ProtocolViolation = 5
Error due to protocol violation
AuthSeqCompleted = 6
Wrong call on extract result
ClientSide = 7
Client side received error
ChanBindNotImplemented = 8
SCRAM channel binding ‘type’ not supported or not implemented
Trait Implementations§
Source§impl Clone for ScramErrorCode
impl Clone for ScramErrorCode
Source§fn clone(&self) -> ScramErrorCode
fn clone(&self) -> ScramErrorCode
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 ScramErrorCode
impl Debug for ScramErrorCode
Source§impl Display for ScramErrorCode
impl Display for ScramErrorCode
Source§impl PartialEq for ScramErrorCode
impl PartialEq for ScramErrorCode
impl Copy for ScramErrorCode
impl Eq for ScramErrorCode
impl StructuralPartialEq for ScramErrorCode
Auto Trait Implementations§
impl Freeze for ScramErrorCode
impl RefUnwindSafe for ScramErrorCode
impl Send for ScramErrorCode
impl Sync for ScramErrorCode
impl Unpin for ScramErrorCode
impl UnwindSafe for ScramErrorCode
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