pub enum BackupError {
Backup {
source: Error,
},
}Expand description
Errors specific to the backup tool.
Variants§
Backup
The backup operation failed. This may indicate the destination path is not writable, the disk is full, or an internal SQLite error occurred during the copy.
Trait Implementations§
Source§impl Debug for BackupError
impl Debug for BackupError
Source§impl Display for BackupError
impl Display for BackupError
Source§impl Error for BackupError
impl Error for BackupError
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 IntoContents for BackupError
Converts the backup-specific error into MCP content by rendering the display
string as text.
impl IntoContents for BackupError
Converts the backup-specific error into MCP content by rendering the display string as text.
Auto Trait Implementations§
impl Freeze for BackupError
impl !RefUnwindSafe for BackupError
impl Send for BackupError
impl Sync for BackupError
impl Unpin for BackupError
impl UnsafeUnpin for BackupError
impl !UnwindSafe for BackupError
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