Enum twizzler_runtime_api::FsError
source · pub enum FsError {
Other,
InvalidPath,
LookupError,
SeekError,
}
Expand description
Possible errors returned by the FsRuntime
Variants§
Other
Error is unclassified.
InvalidPath
Path provided isn’t a valid u128 integer
LookupError
Couldn’t find the file descriptor
SeekError
Seek is beyond maximum file size or before 0
Trait Implementations§
source§impl Error for FsError
impl Error for FsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Ord for FsError
impl Ord for FsError
source§impl PartialEq<FsError> for FsError
impl PartialEq<FsError> for FsError
source§impl PartialOrd<FsError> for FsError
impl PartialOrd<FsError> for FsError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FsError
impl Eq for FsError
impl StructuralEq for FsError
impl StructuralPartialEq for FsError
Auto Trait Implementations§
impl RefUnwindSafe for FsError
impl Send for FsError
impl Sync for FsError
impl Unpin for FsError
impl UnwindSafe for FsError
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