Enum transact::database::error::DatabaseError [−][src]
pub enum DatabaseError { InitError(String), ReaderError(String), WriterError(String), CorruptionError(String), NotFoundError(String), DuplicateEntry, }
Variants
InitError(String)
ReaderError(String)
WriterError(String)
CorruptionError(String)
NotFoundError(String)
Trait Implementations
impl Debug for DatabaseError
[src]
impl Debug for DatabaseError
[src]impl Display for DatabaseError
[src]
impl Display for DatabaseError
[src]impl Error for DatabaseError
[src]
impl Error for DatabaseError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
impl From<DatabaseError> for StateDatabaseError
[src]
impl From<DatabaseError> for StateDatabaseError
[src]fn from(err: DatabaseError) -> Self
[src]
fn from(err: DatabaseError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DatabaseError
impl Send for DatabaseError
impl Sync for DatabaseError
impl Unpin for DatabaseError
impl UnwindSafe for DatabaseError
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> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,