pub enum BackupRestoreError {
InvalidInput(&'static str),
InvalidPath(&'static str),
UnsupportedBackend(String),
Database(DatabaseError),
Io(Error),
Json(Error),
FileTooLarge {
path: PathBuf,
limit: u64,
},
}Variants§
InvalidInput(&'static str)
InvalidPath(&'static str)
UnsupportedBackend(String)
Database(DatabaseError)
Io(Error)
Json(Error)
FileTooLarge
Trait Implementations§
Source§impl Debug for BackupRestoreError
impl Debug for BackupRestoreError
Source§impl Display for BackupRestoreError
impl Display for BackupRestoreError
Source§impl Error for BackupRestoreError
impl Error for BackupRestoreError
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<Error> for BackupRestoreError
impl From<Error> for BackupRestoreError
Auto Trait Implementations§
impl Freeze for BackupRestoreError
impl !RefUnwindSafe for BackupRestoreError
impl Send for BackupRestoreError
impl Sync for BackupRestoreError
impl Unpin for BackupRestoreError
impl UnsafeUnpin for BackupRestoreError
impl !UnwindSafe for BackupRestoreError
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