pub enum BackupError {
Format(String),
Version(u32),
Channel(u8),
Json(String),
}Expand description
A backup failed validation.
Variants§
Format(String)
Not the open coordinator backup format.
Version(u32)
An unsupported format version.
Channel(u8)
The channel is not 11 to 26.
Json(String)
The JSON did not parse.
Trait Implementations§
Source§impl Clone for BackupError
impl Clone for BackupError
Source§impl Debug for BackupError
impl Debug for BackupError
Source§impl Display for BackupError
impl Display for BackupError
impl Eq for BackupError
Source§impl Error for BackupError
impl Error for BackupError
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 PartialEq for BackupError
impl PartialEq for BackupError
impl StructuralPartialEq for BackupError
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