pub enum StaleReason {
OlderFormat {
version: u32,
},
NewerFormat {
version: u32,
},
OtherEngine,
Unreadable,
}Expand description
Why a snapshot fdu wrote cannot be served by this build.
Variants§
OlderFormat
Written in an earlier snapshot format.
NewerFormat
Written in a later snapshot format, by a newer fdu.
OtherEngine
The format matches but the engine fingerprint does not: another fdu version, or other classification rules.
Unreadable
The format and engine match but the header cannot be read: a truncated or corrupt file, or one written with another platform’s path encoding.
Implementations§
Source§impl StaleReason
impl StaleReason
Trait Implementations§
Source§impl Clone for StaleReason
impl Clone for StaleReason
impl Copy for StaleReason
Source§impl Debug for StaleReason
impl Debug for StaleReason
impl Eq for StaleReason
Source§impl PartialEq for StaleReason
impl PartialEq for StaleReason
impl StructuralPartialEq for StaleReason
Auto Trait Implementations§
impl Freeze for StaleReason
impl RefUnwindSafe for StaleReason
impl Send for StaleReason
impl Sync for StaleReason
impl Unpin for StaleReason
impl UnsafeUnpin for StaleReason
impl UnwindSafe for StaleReason
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