pub enum ErrKind {
NotFound = 1,
PermissionDenied = 2,
AlreadyExists = 3,
NotADirectory = 4,
IsADirectory = 5,
DirectoryNotEmpty = 6,
TooLarge = 7,
Invalid = 8,
Other = 255,
}Expand description
Why a request failed, for srv to report the way a local error would be.
Variants§
NotFound = 1
PermissionDenied = 2
AlreadyExists = 3
NotADirectory = 4
IsADirectory = 5
DirectoryNotEmpty = 6
TooLarge = 7
Invalid = 8
Other = 255
Implementations§
Trait Implementations§
impl Copy for ErrKind
impl Eq for ErrKind
impl StructuralPartialEq for ErrKind
Auto Trait Implementations§
impl Freeze for ErrKind
impl RefUnwindSafe for ErrKind
impl Send for ErrKind
impl Sync for ErrKind
impl Unpin for ErrKind
impl UnsafeUnpin for ErrKind
impl UnwindSafe for ErrKind
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