pub enum ManifestError {
Io {
path: PathBuf,
source: Error,
},
Format(FormatError),
Decode(String),
GraphUnsupportedBuild,
AheadOfLog {
snapshot: u64,
durable: u64,
},
Segment(SegmentError),
UnknownEpochAlias {
alias: EpochIdentity,
},
UnknownSegmentEpoch {
segment: SegmentId,
epoch: EpochId,
},
}Expand description
Typed manifest encode/load/open failure.
Variants§
Io
Filesystem operation failed for a named path.
Format(FormatError)
Framing, version, length, or checksum validation failed.
Decode(String)
Hand-written payload decoding rejected malformed bytes.
GraphUnsupportedBuild
This build cannot open a v3 manifest containing graph state.
AheadOfLog
Snapshot log sequence exceeds the durable WAL end.
Fields
Segment(SegmentError)
A referenced segment header failed validation.
UnknownEpochAlias
The published alias did not name a registry entry.
Fields
§
alias: EpochIdentityRejected alias.
UnknownSegmentEpoch
A segment epoch tag did not name any registry entry.
Trait Implementations§
Source§impl Debug for ManifestError
impl Debug for ManifestError
Source§impl Display for ManifestError
impl Display for ManifestError
Source§impl Error for ManifestError
impl Error for ManifestError
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<FormatError> for ManifestError
impl From<FormatError> for ManifestError
Source§fn from(error: FormatError) -> Self
fn from(error: FormatError) -> Self
Converts to this type from the input type.
Source§impl From<SegmentError> for ManifestError
impl From<SegmentError> for ManifestError
Source§fn from(error: SegmentError) -> Self
fn from(error: SegmentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ManifestError
impl !UnwindSafe for ManifestError
impl Freeze for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl UnsafeUnpin for ManifestError
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