pub enum EncryptError {
SourceCert {
error: String,
},
SourceKey {
error: String,
},
DestinationCert {
error: String,
},
ReadContent {
error: String,
cert_error: Option<CertError>,
},
Encode {
error: String,
cert_error: Option<CertError>,
},
Compress {
error: String,
cert_error: Option<CertError>,
},
EncryptContent {
error: String,
cert_error: Option<CertError>,
},
EncryptSymmetricKey {
error: String,
cert_error: Option<CertError>,
},
FormatHeader {
error: String,
cert_error: Option<CertError>,
},
}Variants§
SourceCert
SourceKey
DestinationCert
ReadContent
Encode
Compress
EncryptContent
EncryptSymmetricKey
FormatHeader
Trait Implementations§
Source§impl Debug for EncryptError
impl Debug for EncryptError
Source§impl Display for EncryptError
impl Display for EncryptError
impl Eq for EncryptError
Source§impl PartialEq for EncryptError
impl PartialEq for EncryptError
impl StructuralPartialEq for EncryptError
Auto Trait Implementations§
impl Freeze for EncryptError
impl RefUnwindSafe for EncryptError
impl Send for EncryptError
impl Sync for EncryptError
impl Unpin for EncryptError
impl UnsafeUnpin for EncryptError
impl UnwindSafe for EncryptError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.