Enum StatusError

Source
#[repr(u32)]
pub enum StatusError {
Show 102 variants Perm = 1, NoEnt = 2, Io = 5, NxIo = 6, Access = 13, Exist = 17, XDev = 18, NotDir = 20, Isdir = 21, Inval = 22, FBig = 27, NoSpc = 28, RoFs = 30, MLink = 31, NameTooLong = 63, NotEmpty = 66, DQuot = 69, Stale = 70, BadHandle = 10_001, BadCookie = 10_003, NotSupported = 10_004, TooSmall = 10_005, ServerFault = 10_006, BadType = 10_007, Delay = 10_008, Same = 10_009, Denied = 10_010, Expired = 10_011, Locked = 10_012, Grace = 10_013, FhExpired = 10_014, ShareDenied = 10_015, WrongSec = 10_016, ClidInUse = 10_017, Moved = 10_019, NoFileHandle = 10_020, MinorVersMismatch = 10_021, StaleClientId = 10_022, StaleStateId = 10_023, OldStateId = 10_024, BadStateId = 10_025, BadSeqId = 10_026, NotSame = 10_027, LockRange = 10_028, Symlink = 10_029, RestoreFh = 10_030, LeaseMoved = 10_031, AttrNotSupported = 10_032, NoGrace = 10_033, ReclaimBad = 10_034, ReclaimConflict = 10_035, BadXdr = 10_036, LocksHeld = 10_037, OpenMode = 10_038, BadOwner = 10_039, BadChar = 10_040, BadName = 10_041, BadRange = 10_042, LockNotSupported = 10_043, OpIllegal = 10_044, Deadlock = 10_045, FileOpen = 10_046, AdminRevoked = 10_047, CbPathDown = 10_048, BadIoMode = 10_049, BadLayout = 10_050, BadSessionDigest = 10_051, BadSession = 10_052, BadSlot = 10_053, CompleteAlready = 10_054, ConnNotBoundToSession = 10_055, DelegAlreadyWanted = 10_056, BackChanBusy = 10_057, LayoutTryLater = 10_058, LayoutUnavailable = 10_059, NoMatchingLayout = 10_060, RecallConflict = 10_061, UnknownLayoutType = 10_062, SeqMisordered = 10_063, SequencePos = 10_064, ReqTooBig = 10_065, RepTooBig = 10_066, RepTooBigToCache = 10_067, RetryUncachedRep = 10_068, UnsafeCompound = 10_069, TooManyOps = 10_070, OpNotInSession = 10_071, HashAlgUnsupported = 10_072, ClientIdBusy = 10_074, PnfsIoHole = 10_075, SeqFalseRetry = 10_076, BadHighSlot = 10_077, DeadSession = 10_078, EncrAlgUnsupported = 10_079, PnfsNoLayout = 10_080, NotOnlyOp = 10_081, WrongCred = 10_082, WrongType = 10_083, DirDelegUnavail = 10_084, RejectDeleg = 10_085, ReturnConflict = 10_086, DelegRevoked = 10_087,
}

Variants§

§

Perm = 1

§

NoEnt = 2

§

Io = 5

§

NxIo = 6

§

Access = 13

§

Exist = 17

§

XDev = 18

§

NotDir = 20

§

Isdir = 21

§

Inval = 22

§

FBig = 27

§

NoSpc = 28

§

RoFs = 30

§

NameTooLong = 63

§

NotEmpty = 66

§

DQuot = 69

§

Stale = 70

§

BadHandle = 10_001

§

BadCookie = 10_003

§

NotSupported = 10_004

§

TooSmall = 10_005

§

ServerFault = 10_006

§

BadType = 10_007

§

Delay = 10_008

§

Same = 10_009

§

Denied = 10_010

§

Expired = 10_011

§

Locked = 10_012

§

Grace = 10_013

§

FhExpired = 10_014

§

ShareDenied = 10_015

§

WrongSec = 10_016

§

ClidInUse = 10_017

§

Moved = 10_019

§

NoFileHandle = 10_020

§

MinorVersMismatch = 10_021

§

StaleClientId = 10_022

§

StaleStateId = 10_023

§

OldStateId = 10_024

§

BadStateId = 10_025

§

BadSeqId = 10_026

§

NotSame = 10_027

§

LockRange = 10_028

§

RestoreFh = 10_030

§

LeaseMoved = 10_031

§

AttrNotSupported = 10_032

§

NoGrace = 10_033

§

ReclaimBad = 10_034

§

ReclaimConflict = 10_035

§

BadXdr = 10_036

§

LocksHeld = 10_037

§

OpenMode = 10_038

§

BadOwner = 10_039

§

BadChar = 10_040

§

BadName = 10_041

§

BadRange = 10_042

§

LockNotSupported = 10_043

§

OpIllegal = 10_044

§

Deadlock = 10_045

§

FileOpen = 10_046

§

AdminRevoked = 10_047

§

CbPathDown = 10_048

§

BadIoMode = 10_049

§

BadLayout = 10_050

§

BadSessionDigest = 10_051

§

BadSession = 10_052

§

BadSlot = 10_053

§

CompleteAlready = 10_054

§

ConnNotBoundToSession = 10_055

§

DelegAlreadyWanted = 10_056

§

BackChanBusy = 10_057

§

LayoutTryLater = 10_058

§

LayoutUnavailable = 10_059

§

NoMatchingLayout = 10_060

§

RecallConflict = 10_061

§

UnknownLayoutType = 10_062

§

SeqMisordered = 10_063

§

SequencePos = 10_064

§

ReqTooBig = 10_065

§

RepTooBig = 10_066

§

RepTooBigToCache = 10_067

§

RetryUncachedRep = 10_068

§

UnsafeCompound = 10_069

§

TooManyOps = 10_070

§

OpNotInSession = 10_071

§

HashAlgUnsupported = 10_072

§

ClientIdBusy = 10_074

§

PnfsIoHole = 10_075

§

SeqFalseRetry = 10_076

§

BadHighSlot = 10_077

§

DeadSession = 10_078

§

EncrAlgUnsupported = 10_079

§

PnfsNoLayout = 10_080

§

NotOnlyOp = 10_081

§

WrongCred = 10_082

§

WrongType = 10_083

§

DirDelegUnavail = 10_084

§

RejectDeleg = 10_085

§

ReturnConflict = 10_086

§

DelegRevoked = 10_087

Trait Implementations§

Source§

impl Clone for StatusError

Source§

fn clone(&self) -> StatusError

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StatusError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for StatusError

Source§

fn deserialize<D>(deserializer: D) -> Result<StatusError, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for StatusError

Source§

fn eq(&self, other: &StatusError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for StatusError

Source§

fn serialize<__S>(&self, serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<u32> for StatusError

Source§

type Error = TryFromPrimitiveError<StatusError>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for StatusError

Source§

const NAME: &'static str = "StatusError"

Source§

type Primitive = u32

Source§

fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>

Source§

impl Eq for StatusError

Source§

impl StructuralPartialEq for StatusError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,