Enum dup_crypto::private_message::PrivateMessageError [−][src]
pub enum PrivateMessageError { IoError(Error), InvalidEphemeralPubKey(PubKeyFromBytesError), InvalidSenderPubKey(PubKeyFromBytesError), InvalidAuthenticationProof, UnspecifiedAeadError, UnspecifiedRandError, }
Expand description
Error at encryption/decryption of a private message
Variants
IoError(Error)
I/O error
InvalidEphemeralPubKey(PubKeyFromBytesError)
Invalid ephemeral pubkey
InvalidSenderPubKey(PubKeyFromBytesError)
Invalid sender pubkey
Invalid authentication proof : invalid signature
Unspecified aead error
Unspecified rand error
Trait Implementations
impl Debug for PrivateMessageError
[src]
impl Debug for PrivateMessageError
[src]impl From<UnspecifiedRandError> for PrivateMessageError
[src]
impl From<UnspecifiedRandError> for PrivateMessageError
[src]fn from(_: UnspecifiedRandError) -> Self
[src]
fn from(_: UnspecifiedRandError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PrivateMessageError
impl Send for PrivateMessageError
impl Sync for PrivateMessageError
impl Unpin for PrivateMessageError
impl !UnwindSafe for PrivateMessageError
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> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self