pub enum CommandCustodyRecordError {
UnsupportedVersion(u16),
InvalidJournal {
journal: PathBuf,
},
UnknownFileIdentity,
}Expand description
Invalid maintained-generation local custody evidence.
Variants§
UnsupportedVersion(u16)
The serialized generation is not maintained.
InvalidJournal
The journal location is not bounded, canonical, absolute UTF-8.
UnknownFileIdentity
No usable inode identity was observed.
Trait Implementations§
Source§impl Debug for CommandCustodyRecordError
impl Debug for CommandCustodyRecordError
Source§impl Display for CommandCustodyRecordError
impl Display for CommandCustodyRecordError
Source§impl Error for CommandCustodyRecordError
impl Error for CommandCustodyRecordError
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 From<CommandCustodyRecordError> for CommandLifetimeLockError
impl From<CommandCustodyRecordError> for CommandLifetimeLockError
Source§fn from(source: CommandCustodyRecordError) -> Self
fn from(source: CommandCustodyRecordError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandCustodyRecordError
impl RefUnwindSafe for CommandCustodyRecordError
impl Send for CommandCustodyRecordError
impl Sync for CommandCustodyRecordError
impl Unpin for CommandCustodyRecordError
impl UnsafeUnpin for CommandCustodyRecordError
impl UnwindSafe for CommandCustodyRecordError
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