pub enum DataStorageError {
WriteRowFailed(StorageId, String),
ReadRowFailed(StorageId, String),
FlushStorageFailed(StorageId, String),
RewindFailed(StorageId, String),
StorageOverflow(StorageId),
PermissionDenied(StorageId),
IoError(Error),
DataStorageFormatter(FormatterError),
ReadFileHeaderError(FormatterError, StorageId),
EofError(),
}Variants§
WriteRowFailed(StorageId, String)
ReadRowFailed(StorageId, String)
FlushStorageFailed(StorageId, String)
RewindFailed(StorageId, String)
StorageOverflow(StorageId)
PermissionDenied(StorageId)
IoError(Error)
DataStorageFormatter(FormatterError)
ReadFileHeaderError(FormatterError, StorageId)
EofError()
Trait Implementations§
Source§impl Debug for DataStorageError
impl Debug for DataStorageError
Source§impl Display for DataStorageError
impl Display for DataStorageError
Source§impl Error for DataStorageError
impl Error for DataStorageError
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<DataStorageError> for DatabaseError
impl From<DataStorageError> for DatabaseError
Source§fn from(source: DataStorageError) -> Self
fn from(source: DataStorageError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DataStorageError
impl From<Error> for DataStorageError
Source§impl From<FormatterError> for DataStorageError
impl From<FormatterError> for DataStorageError
Source§fn from(source: FormatterError) -> Self
fn from(source: FormatterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DataStorageError
impl !RefUnwindSafe for DataStorageError
impl Send for DataStorageError
impl Sync for DataStorageError
impl Unpin for DataStorageError
impl !UnwindSafe for DataStorageError
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