pub enum SecurePrimitiveError {
BadSize,
}
Expand description
Errors related to the secure primitive macro.
Variants§
BadSize
We have the wrong number of bytes.
Trait Implementations§
source§impl Debug for SecurePrimitiveError
impl Debug for SecurePrimitiveError
source§impl Display for SecurePrimitiveError
impl Display for SecurePrimitiveError
source§impl Error for SecurePrimitiveError
impl Error for SecurePrimitiveError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for SecurePrimitiveError
impl Send for SecurePrimitiveError
impl Sync for SecurePrimitiveError
impl Unpin for SecurePrimitiveError
impl UnwindSafe for SecurePrimitiveError
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