pub enum FsError {
NotFound,
PermissionDenied,
AlreadyExists,
DiskFull,
InvalidPath,
FileTooLarge,
Unknown(i32),
}Variants§
Implementations§
Source§impl FsError
impl FsError
pub const Dolbayob: Self = crate::FsError::NotFound
pub const IdiNahui: Self = crate::FsError::PermissionDenied
pub const AlreadyFucked: Self = crate::FsError::AlreadyExists
pub const AssFull: Self = crate::FsError::DiskFull
pub const YouInvalid: Self = crate::FsError::InvalidPath
pub const DickTooLarge: Self = crate::FsError::FileTooLarge
pub fn from_code(code: i32) -> Self
pub fn from_code_but_for_me(code: i32) -> Self
Trait Implementations§
impl Copy for FsError
impl Eq for FsError
impl StructuralPartialEq for FsError
Auto Trait Implementations§
impl Freeze for FsError
impl RefUnwindSafe for FsError
impl Send for FsError
impl Sync for FsError
impl Unpin for FsError
impl UnsafeUnpin 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