pub enum EnableVerityError {
Io(Error),
FilesystemNotSupported,
AlreadyEnabled,
FileOpenedForWrite,
}Expand description
Enabling fsverity failed.
Variants§
Io(Error)
I/O operation failed.
FilesystemNotSupported
The filesystem does not support fs-verity.
AlreadyEnabled
fs-verity is already enabled on the file.
FileOpenedForWrite
The file has an open writable file descriptor.
Trait Implementations§
Source§impl Debug for EnableVerityError
impl Debug for EnableVerityError
Source§impl Display for EnableVerityError
impl Display for EnableVerityError
Source§impl Error for EnableVerityError
impl Error for EnableVerityError
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()
Auto Trait Implementations§
impl Freeze for EnableVerityError
impl !RefUnwindSafe for EnableVerityError
impl Send for EnableVerityError
impl Sync for EnableVerityError
impl Unpin for EnableVerityError
impl !UnwindSafe for EnableVerityError
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