Enum privatebox::PrivateBoxError [−][src]
pub enum PrivateBoxError { Cryptography, UnrecognizedFormat, MessageTooLarge, HeaderTooLarge, }
Expand description
Error variants provided by the PrivateBox API
Variants
Cryptographic error. Integrity is compromised
Format is corrupted
Message size is too large to be processed by architecture
Header size is too large to be processed by architecture
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrivateBoxError
impl Send for PrivateBoxError
impl Sync for PrivateBoxError
impl Unpin for PrivateBoxError
impl UnwindSafe for PrivateBoxError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self