pub enum FileOwnerError {
IoError(Error),
NixError(Error),
UserNotFound(String),
GroupNotFound(String),
}
Expand description
File owner or group error.
Variants§
Trait Implementations§
Source§impl Debug for FileOwnerError
impl Debug for FileOwnerError
Source§impl Display for FileOwnerError
impl Display for FileOwnerError
Source§impl Error for FileOwnerError
impl Error for FileOwnerError
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<Errno> for FileOwnerError
impl From<Errno> for FileOwnerError
Source§fn from(err: Error) -> FileOwnerError
fn from(err: Error) -> FileOwnerError
Converts to this type from the input type.
Source§impl From<Error> for FileOwnerError
impl From<Error> for FileOwnerError
Source§fn from(err: Error) -> FileOwnerError
fn from(err: Error) -> FileOwnerError
Converts to this type from the input type.
Source§impl From<Infallible> for FileOwnerError
impl From<Infallible> for FileOwnerError
Source§fn from(_err: Infallible) -> FileOwnerError
fn from(_err: Infallible) -> FileOwnerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileOwnerError
impl !RefUnwindSafe for FileOwnerError
impl Send for FileOwnerError
impl Sync for FileOwnerError
impl Unpin for FileOwnerError
impl !UnwindSafe for FileOwnerError
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