pub enum CommitError {
Io(Error),
Cipher(HaysonCipherError),
}Expand description
WriteQueue::commit_sealed’s failure: an I/O error appending to the log, or the seal
closure refusing a cypher field (no key to write it with).
Variants§
Io(Error)
Cipher(HaysonCipherError)
Trait Implementations§
Source§impl Debug for CommitError
impl Debug for CommitError
Source§impl Display for CommitError
impl Display for CommitError
Source§impl Error for CommitError
impl Error for CommitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<CommitError> for TableError
impl From<CommitError> for TableError
Source§fn from(value: CommitError) -> Self
fn from(value: CommitError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CommitError
impl From<Error> for CommitError
Source§impl From<HaysonCipherError> for CommitError
impl From<HaysonCipherError> for CommitError
Source§fn from(value: HaysonCipherError) -> Self
fn from(value: HaysonCipherError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommitError
impl !UnwindSafe for CommitError
impl Freeze for CommitError
impl Send for CommitError
impl Sync for CommitError
impl Unpin for CommitError
impl UnsafeUnpin for CommitError
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