pub enum SnapshotManifestError {
InvalidPrincipal {
field: &'static str,
value: String,
},
TopologyChanged {
discovery: String,
pre_snapshot: String,
},
MissingArtifact(String),
InvalidManifest(ManifestValidationError),
}Expand description
SnapshotManifestError
Variants§
Trait Implementations§
Source§impl Debug for SnapshotManifestError
impl Debug for SnapshotManifestError
Source§impl Display for SnapshotManifestError
impl Display for SnapshotManifestError
Source§impl Error for SnapshotManifestError
impl Error for SnapshotManifestError
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<ManifestValidationError> for SnapshotManifestError
impl From<ManifestValidationError> for SnapshotManifestError
Source§fn from(source: ManifestValidationError) -> Self
fn from(source: ManifestValidationError) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotManifestError> for SnapshotDownloadError
impl From<SnapshotManifestError> for SnapshotDownloadError
Source§fn from(source: SnapshotManifestError) -> Self
fn from(source: SnapshotManifestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotManifestError
impl RefUnwindSafe for SnapshotManifestError
impl Send for SnapshotManifestError
impl Sync for SnapshotManifestError
impl Unpin for SnapshotManifestError
impl UnsafeUnpin for SnapshotManifestError
impl UnwindSafe for SnapshotManifestError
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