pub enum StorageError {
Show 16 variants
NotFound,
InvalidValue,
DifferentValue,
BackendError,
SerializationError,
AlreadyExists,
DataCorruption,
UnknownColumnFamily,
PropertyNotFound,
NotAStoreRepo,
OverlayBranchNotFound,
Abort,
NotEmpty,
ServerAlreadyRunningInOtherProcess,
NgError(String),
NoDiscreteState,
}
Variants§
NotFound
InvalidValue
DifferentValue
BackendError
SerializationError
AlreadyExists
DataCorruption
UnknownColumnFamily
PropertyNotFound
NotAStoreRepo
OverlayBranchNotFound
Abort
NotEmpty
ServerAlreadyRunningInOtherProcess
NgError(String)
NoDiscreteState
Trait Implementations§
Source§impl Clone for StorageError
impl Clone for StorageError
Source§fn clone(&self) -> StorageError
fn clone(&self) -> StorageError
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 StorageError
impl Debug for StorageError
Source§impl Display for StorageError
impl Display for StorageError
Source§impl From<Error> for StorageError
impl From<Error> for StorageError
Source§impl From<NgError> for StorageError
impl From<NgError> for StorageError
Source§impl From<StorageError> for FileError
impl From<StorageError> for FileError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for NgError
impl From<StorageError> for NgError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for ProtocolError
impl From<StorageError> for ProtocolError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for ServerError
impl From<StorageError> for ServerError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for VerifierError
impl From<StorageError> for VerifierError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StorageError
impl PartialEq for StorageError
impl Eq for StorageError
impl StructuralPartialEq for StorageError
Auto Trait Implementations§
impl Freeze for StorageError
impl RefUnwindSafe for StorageError
impl Send for StorageError
impl Sync for StorageError
impl Unpin for StorageError
impl UnwindSafe for StorageError
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