pub enum MoqSecureError {
Show 15 variants
InvalidMagic,
UnsupportedVersion(u8),
UnsupportedAlgorithm(u8),
TruncatedFrame,
CiphertextTooShort,
InvalidPadLength,
InvalidSigFlag(u8),
AeadAuthFailed,
InvalidSignature,
SigningMismatch,
MissingSigSlot,
SignatureNotAllowedByNSigned,
DecryptFailed,
InvalidKeyId(u8),
ReplayDetected,
}Variants§
InvalidMagic
UnsupportedVersion(u8)
UnsupportedAlgorithm(u8)
TruncatedFrame
CiphertextTooShort
InvalidPadLength
InvalidSigFlag(u8)
AeadAuthFailed
InvalidSignature
SigningMismatch
MissingSigSlot
SignatureNotAllowedByNSigned
DecryptFailed
InvalidKeyId(u8)
ReplayDetected
Trait Implementations§
Source§impl Debug for MoqSecureError
impl Debug for MoqSecureError
Source§impl Display for MoqSecureError
impl Display for MoqSecureError
Source§impl Error for MoqSecureError
impl Error for MoqSecureError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MoqSecureError
impl RefUnwindSafe for MoqSecureError
impl Send for MoqSecureError
impl Sync for MoqSecureError
impl Unpin for MoqSecureError
impl UnsafeUnpin for MoqSecureError
impl UnwindSafe for MoqSecureError
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