#[repr(i32)]pub enum FsErrorCode {
Show 14 variants
Ok = 0,
NotFound = -1,
AlreadyExists = -2,
NoSpace = -3,
InvalidArgument = -4,
NotInitialized = -5,
IoError = -6,
CryptoError = -7,
InternalError = -8,
BufferTooSmall = -9,
NotAFile = -10,
NotADirectory = -11,
DirectoryNotEmpty = -12,
NameTooLong = -13,
}Expand description
Integer error codes for the C ABI layer.
Variants§
Ok = 0
NotFound = -1
AlreadyExists = -2
NoSpace = -3
InvalidArgument = -4
NotInitialized = -5
IoError = -6
CryptoError = -7
InternalError = -8
BufferTooSmall = -9
NotAFile = -10
NotADirectory = -11
DirectoryNotEmpty = -12
NameTooLong = -13
Trait Implementations§
Source§impl Clone for FsErrorCode
impl Clone for FsErrorCode
Source§fn clone(&self) -> FsErrorCode
fn clone(&self) -> FsErrorCode
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 FsErrorCode
impl Debug for FsErrorCode
Source§impl From<&FsError> for FsErrorCode
impl From<&FsError> for FsErrorCode
Source§impl PartialEq for FsErrorCode
impl PartialEq for FsErrorCode
impl Copy for FsErrorCode
impl Eq for FsErrorCode
impl StructuralPartialEq for FsErrorCode
Auto Trait Implementations§
impl Freeze for FsErrorCode
impl RefUnwindSafe for FsErrorCode
impl Send for FsErrorCode
impl Sync for FsErrorCode
impl Unpin for FsErrorCode
impl UnsafeUnpin for FsErrorCode
impl UnwindSafe for FsErrorCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.