Enum dco3_crypto::DracoonCryptoError
source · pub enum DracoonCryptoError {
RsaOperationFailed,
RsaImportFailed,
ByteParseError,
CrypterOperationFailed(String),
InvalidKeypairVersion,
BadData,
InvalidFileKeyFormat(String),
InvalidTag,
Unknown,
}
Variants§
RsaOperationFailed
RsaImportFailed
ByteParseError
CrypterOperationFailed(String)
InvalidKeypairVersion
BadData
InvalidFileKeyFormat(String)
InvalidTag
Unknown
Trait Implementations§
source§impl Clone for DracoonCryptoError
impl Clone for DracoonCryptoError
source§fn clone(&self) -> DracoonCryptoError
fn clone(&self) -> DracoonCryptoError
Returns a copy 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 DracoonCryptoError
impl Debug for DracoonCryptoError
source§impl From<ErrorStack> for DracoonCryptoError
impl From<ErrorStack> for DracoonCryptoError
source§fn from(_: ErrorStack) -> Self
fn from(_: ErrorStack) -> Self
Converts to this type from the input type.
source§impl From<Utf8Error> for DracoonCryptoError
impl From<Utf8Error> for DracoonCryptoError
source§impl PartialEq for DracoonCryptoError
impl PartialEq for DracoonCryptoError
source§fn eq(&self, other: &DracoonCryptoError) -> bool
fn eq(&self, other: &DracoonCryptoError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DracoonCryptoError
Auto Trait Implementations§
impl Freeze for DracoonCryptoError
impl RefUnwindSafe for DracoonCryptoError
impl Send for DracoonCryptoError
impl Sync for DracoonCryptoError
impl Unpin for DracoonCryptoError
impl UnwindSafe for DracoonCryptoError
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