pub enum RestoreApplyDryRunValidationError {
ArtifactChecksum {
field: &'static str,
source: ArtifactChecksumError,
},
DuplicateArtifactSource(String),
DuplicateSequence(usize),
MissingField(&'static str),
MissingSequence(usize),
ProjectionMismatch(&'static str),
ReadinessMismatch,
UnsupportedVersion(u16),
}Expand description
RestoreApplyDryRunValidationError
Typed failure returned before a serialized dry-run can create durable state. Owned by restore apply validation and preserved by journal construction.
Variants§
ArtifactChecksum
DuplicateArtifactSource(String)
DuplicateSequence(usize)
MissingField(&'static str)
MissingSequence(usize)
ProjectionMismatch(&'static str)
ReadinessMismatch
UnsupportedVersion(u16)
Trait Implementations§
Source§impl Error for RestoreApplyDryRunValidationError
impl Error for RestoreApplyDryRunValidationError
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<RestoreApplyDryRunValidationError> for RestoreApplyJournalError
impl From<RestoreApplyDryRunValidationError> for RestoreApplyJournalError
Source§fn from(source: RestoreApplyDryRunValidationError) -> Self
fn from(source: RestoreApplyDryRunValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RestoreApplyDryRunValidationError
impl !UnwindSafe for RestoreApplyDryRunValidationError
impl Freeze for RestoreApplyDryRunValidationError
impl Send for RestoreApplyDryRunValidationError
impl Sync for RestoreApplyDryRunValidationError
impl Unpin for RestoreApplyDryRunValidationError
impl UnsafeUnpin for RestoreApplyDryRunValidationError
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