pub enum FileStatError {
InvalidFileDescriptor,
IOerror,
FileTooBig,
UnknownFileType,
UnknownError(i32),
}Variants§
Trait Implementations§
Source§impl Clone for FileStatError
impl Clone for FileStatError
Source§fn clone(&self) -> FileStatError
fn clone(&self) -> FileStatError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileStatError
impl Debug for FileStatError
Source§impl Display for FileStatError
impl Display for FileStatError
Source§impl Error for FileStatError
impl Error for FileStatError
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<()> for FileStatError
impl From<()> for FileStatError
Source§impl From<FileStatError> for FileCreationError
impl From<FileStatError> for FileCreationError
Source§fn from(v: FileStatError) -> Self
fn from(v: FileStatError) -> Self
Converts to this type from the input type.
Source§impl From<FileStatError> for FileError
impl From<FileStatError> for FileError
Source§fn from(_: FileStatError) -> Self
fn from(_: FileStatError) -> Self
Converts to this type from the input type.
Source§impl From<FileStatError> for FileReadError
impl From<FileStatError> for FileReadError
Source§fn from(v: FileStatError) -> Self
fn from(v: FileStatError) -> Self
Converts to this type from the input type.
Source§fn from(v: FileStatError) -> Self
fn from(v: FileStatError) -> Self
Converts to this type from the input type.
Source§impl Hash for FileStatError
impl Hash for FileStatError
Source§impl PartialEq for FileStatError
impl PartialEq for FileStatError
impl Copy for FileStatError
impl Eq for FileStatError
impl StructuralPartialEq for FileStatError
Auto Trait Implementations§
impl Freeze for FileStatError
impl RefUnwindSafe for FileStatError
impl Send for FileStatError
impl Sync for FileStatError
impl Unpin for FileStatError
impl UnwindSafe for FileStatError
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