Enum keepass_ng::error::BlockStreamError
source · pub enum BlockStreamError {
Cryptography(CryptographyError),
BlockHashMismatch {
block_index: u64,
},
}Expand description
Errors reading from the HMAC block stream
Variants§
Trait Implementations§
source§impl Debug for BlockStreamError
impl Debug for BlockStreamError
source§impl Display for BlockStreamError
impl Display for BlockStreamError
source§impl Error for BlockStreamError
impl Error for BlockStreamError
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()
source§impl From<BlockStreamError> for DatabaseIntegrityError
impl From<BlockStreamError> for DatabaseIntegrityError
source§fn from(source: BlockStreamError) -> Self
fn from(source: BlockStreamError) -> Self
Converts to this type from the input type.
source§impl From<BlockStreamError> for DatabaseOpenError
impl From<BlockStreamError> for DatabaseOpenError
source§fn from(e: BlockStreamError) -> Self
fn from(e: BlockStreamError) -> Self
Converts to this type from the input type.
source§impl From<BlockStreamError> for Error
impl From<BlockStreamError> for Error
source§fn from(source: BlockStreamError) -> Self
fn from(source: BlockStreamError) -> Self
Converts to this type from the input type.
source§impl From<CryptographyError> for BlockStreamError
impl From<CryptographyError> for BlockStreamError
source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockStreamError
impl RefUnwindSafe for BlockStreamError
impl Send for BlockStreamError
impl Sync for BlockStreamError
impl Unpin for BlockStreamError
impl UnwindSafe for BlockStreamError
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