Skip to main content

Nfs4ErrorCode

Enum Nfs4ErrorCode 

Source
pub enum Nfs4ErrorCode {
Show 103 variants NFS4_OK = 0, NFS4ERR_PERM = 1, NFS4ERR_NOENT = 2, NFS4ERR_IO = 5, NFS4ERR_NXIO = 6, NFS4ERR_ACCESS = 13, NFS4ERR_EXIST = 17, NFS4ERR_XDEV = 18, NFS4ERR_NOTDIR = 20, NFS4ERR_ISDIR = 21, NFS4ERR_INVAL = 22, NFS4ERR_FBIG = 27, NFS4ERR_NOSPC = 28, NFS4ERR_ROFS = 30, NFS4ERR_MLINK = 31, NFS4ERR_NAMETOOLONG = 63, NFS4ERR_NOTEMPTY = 66, NFS4ERR_DQUOT = 69, NFS4ERR_STALE = 70, NFS4ERR_BADHANDLE = 10_001, NFS4ERR_BAD_COOKIE = 10_003, NFS4ERR_NOTSUPP = 10_004, NFS4ERR_TOOSMALL = 10_005, NFS4ERR_SERVERFAULT = 10_006, NFS4ERR_BADTYPE = 10_007, NFS4ERR_DELAY = 10_008, NFS4ERR_SAME = 10_009, NFS4ERR_DENIED = 10_010, NFS4ERR_EXPIRED = 10_011, NFS4ERR_LOCKED = 10_012, NFS4ERR_GRACE = 10_013, NFS4ERR_FHEXPIRED = 10_014, NFS4ERR_SHARE_DENIED = 10_015, NFS4ERR_WRONGSEC = 10_016, NFS4ERR_CLID_INUSE = 10_017, NFS4ERR_MOVED = 10_019, NFS4ERR_NOFILEHANDLE = 10_020, NFS4ERR_MINOR_VERS_MISMATCH = 10_021, NFS4ERR_STALE_CLIENTID = 10_022, NFS4ERR_STALE_STATEID = 10_023, NFS4ERR_OLD_STATEID = 10_024, NFS4ERR_BAD_STATEID = 10_025, NFS4ERR_BAD_SEQID = 10_026, NFS4ERR_NOT_SAME = 10_027, NFS4ERR_LOCK_RANGE = 10_028, NFS4ERR_SYMLINK = 10_029, NFS4ERR_RESTOREFH = 10_030, NFS4ERR_LEASE_MOVED = 10_031, NFS4ERR_ATTRNOTSUPP = 10_032, NFS4ERR_NO_GRACE = 10_033, NFS4ERR_RECLAIM_BAD = 10_034, NFS4ERR_RECLAIM_CONFLICT = 10_035, NFS4ERR_BADXDR = 10_036, NFS4ERR_LOCKS_HELD = 10_037, NFS4ERR_OPENMODE = 10_038, NFS4ERR_BADOWNER = 10_039, NFS4ERR_BADCHAR = 10_040, NFS4ERR_BADNAME = 10_041, NFS4ERR_BAD_RANGE = 10_042, NFS4ERR_LOCK_NOTSUPP = 10_043, NFS4ERR_OP_ILLEGAL = 10_044, NFS4ERR_DEADLOCK = 10_045, NFS4ERR_FILE_OPEN = 10_046, NFS4ERR_ADMIN_REVOKED = 10_047, NFS4ERR_CB_PATH_DOWN = 10_048, NFS4ERR_BADIOMODE = 10_049, NFS4ERR_BADLAYOUT = 10_050, NFS4ERR_BAD_SESSION_DIGEST = 10_051, NFS4ERR_BADSESSION = 10_052, NFS4ERR_BADSLOT = 10_053, NFS4ERR_COMPLETE_ALREADY = 10_054, NFS4ERR_CONN_NOT_BOUND_TO_SESSION = 10_055, NFS4ERR_DELEG_ALREADY_WANTED = 10_056, NFS4ERR_BACK_CHAN_BUSY = 10_057, NFS4ERR_LAYOUTTRYLATER = 10_058, NFS4ERR_LAYOUTUNAVAILABLE = 10_059, NFS4ERR_NOMATCHING_LAYOUT = 10_060, NFS4ERR_RECALLCONFLICT = 10_061, NFS4ERR_UNKNOWN_LAYOUTTYPE = 10_062, NFS4ERR_SEQ_MISORDERED = 10_063, NFS4ERR_SEQUENCE_POS = 10_064, NFS4ERR_REQ_TOO_BIG = 10_065, NFS4ERR_REP_TOO_BIG = 10_066, NFS4ERR_REP_TOO_BIG_TO_CACHE = 10_067, NFS4ERR_RETRY_UNCACHED_REP = 10_068, NFS4ERR_UNSAFE_COMPOUND = 10_069, NFS4ERR_TOO_MANY_OPS = 10_070, NFS4ERR_OP_NOT_IN_SESSION = 10_071, NFS4ERR_HASH_ALG_UNSUPP = 10_072, NFS4ERR_CLIENTID_BUSY = 10_074, NFS4ERR_PNFS_IO_HOLE = 10_075, NFS4ERR_SEQ_FALSE_RETRY = 10_076, NFS4ERR_BAD_HIGH_SLOT = 10_077, NFS4ERR_DEADSESSION = 10_078, NFS4ERR_ENCR_ALG_UNSUPP = 10_079, NFS4ERR_PNFS_NO_LAYOUT = 10_080, NFS4ERR_NOT_ONLY_OP = 10_081, NFS4ERR_WRONG_CRED = 10_082, NFS4ERR_WRONG_TYPE = 10_083, NFS4ERR_DIRDELEG_UNAVAIL = 10_084, NFS4ERR_REJECT_DELEG = 10_085, NFS4ERR_RETURNCONFLICT = 10_086, NFS4ERR_DELEG_REVOKED = 10_087,
}

Variants§

§

NFS4_OK = 0

§

NFS4ERR_PERM = 1

§

NFS4ERR_NOENT = 2

§

NFS4ERR_IO = 5

§

NFS4ERR_NXIO = 6

§

NFS4ERR_ACCESS = 13

§

NFS4ERR_EXIST = 17

§

NFS4ERR_XDEV = 18

§

NFS4ERR_NOTDIR = 20

§

NFS4ERR_ISDIR = 21

§

NFS4ERR_INVAL = 22

§

NFS4ERR_FBIG = 27

§

NFS4ERR_NOSPC = 28

§

NFS4ERR_ROFS = 30

§

NFS4ERR_NAMETOOLONG = 63

§

NFS4ERR_NOTEMPTY = 66

§

NFS4ERR_DQUOT = 69

§

NFS4ERR_STALE = 70

§

NFS4ERR_BADHANDLE = 10_001

§

NFS4ERR_NOTSUPP = 10_004

§

NFS4ERR_TOOSMALL = 10_005

§

NFS4ERR_SERVERFAULT = 10_006

§

NFS4ERR_BADTYPE = 10_007

§

NFS4ERR_DELAY = 10_008

§

NFS4ERR_SAME = 10_009

§

NFS4ERR_DENIED = 10_010

§

NFS4ERR_EXPIRED = 10_011

§

NFS4ERR_LOCKED = 10_012

§

NFS4ERR_GRACE = 10_013

§

NFS4ERR_FHEXPIRED = 10_014

§

NFS4ERR_SHARE_DENIED = 10_015

§

NFS4ERR_WRONGSEC = 10_016

§

NFS4ERR_CLID_INUSE = 10_017

§

NFS4ERR_MOVED = 10_019

§

NFS4ERR_NOFILEHANDLE = 10_020

§

NFS4ERR_MINOR_VERS_MISMATCH = 10_021

§

NFS4ERR_STALE_CLIENTID = 10_022

§

NFS4ERR_STALE_STATEID = 10_023

§

NFS4ERR_OLD_STATEID = 10_024

§

NFS4ERR_BAD_STATEID = 10_025

§

NFS4ERR_BAD_SEQID = 10_026

§

NFS4ERR_NOT_SAME = 10_027

§

NFS4ERR_LOCK_RANGE = 10_028

§

NFS4ERR_RESTOREFH = 10_030

§

NFS4ERR_LEASE_MOVED = 10_031

§

NFS4ERR_ATTRNOTSUPP = 10_032

§

NFS4ERR_NO_GRACE = 10_033

§

NFS4ERR_RECLAIM_BAD = 10_034

§

NFS4ERR_RECLAIM_CONFLICT = 10_035

§

NFS4ERR_BADXDR = 10_036

§

NFS4ERR_LOCKS_HELD = 10_037

§

NFS4ERR_OPENMODE = 10_038

§

NFS4ERR_BADOWNER = 10_039

§

NFS4ERR_BADCHAR = 10_040

§

NFS4ERR_BADNAME = 10_041

§

NFS4ERR_BAD_RANGE = 10_042

§

NFS4ERR_LOCK_NOTSUPP = 10_043

§

NFS4ERR_OP_ILLEGAL = 10_044

§

NFS4ERR_DEADLOCK = 10_045

§

NFS4ERR_FILE_OPEN = 10_046

§

NFS4ERR_ADMIN_REVOKED = 10_047

§

NFS4ERR_CB_PATH_DOWN = 10_048

§

NFS4ERR_BADIOMODE = 10_049

§

NFS4ERR_BADLAYOUT = 10_050

§

NFS4ERR_BAD_SESSION_DIGEST = 10_051

§

NFS4ERR_BADSESSION = 10_052

§

NFS4ERR_BADSLOT = 10_053

§

NFS4ERR_COMPLETE_ALREADY = 10_054

§

NFS4ERR_CONN_NOT_BOUND_TO_SESSION = 10_055

§

NFS4ERR_DELEG_ALREADY_WANTED = 10_056

§

NFS4ERR_BACK_CHAN_BUSY = 10_057

§

NFS4ERR_LAYOUTTRYLATER = 10_058

§

NFS4ERR_LAYOUTUNAVAILABLE = 10_059

§

NFS4ERR_NOMATCHING_LAYOUT = 10_060

§

NFS4ERR_RECALLCONFLICT = 10_061

§

NFS4ERR_UNKNOWN_LAYOUTTYPE = 10_062

§

NFS4ERR_SEQ_MISORDERED = 10_063

§

NFS4ERR_SEQUENCE_POS = 10_064

§

NFS4ERR_REQ_TOO_BIG = 10_065

§

NFS4ERR_REP_TOO_BIG = 10_066

§

NFS4ERR_REP_TOO_BIG_TO_CACHE = 10_067

§

NFS4ERR_RETRY_UNCACHED_REP = 10_068

§

NFS4ERR_UNSAFE_COMPOUND = 10_069

§

NFS4ERR_TOO_MANY_OPS = 10_070

§

NFS4ERR_OP_NOT_IN_SESSION = 10_071

§

NFS4ERR_HASH_ALG_UNSUPP = 10_072

§

NFS4ERR_CLIENTID_BUSY = 10_074

§

NFS4ERR_PNFS_IO_HOLE = 10_075

§

NFS4ERR_SEQ_FALSE_RETRY = 10_076

§

NFS4ERR_BAD_HIGH_SLOT = 10_077

§

NFS4ERR_DEADSESSION = 10_078

§

NFS4ERR_ENCR_ALG_UNSUPP = 10_079

§

NFS4ERR_PNFS_NO_LAYOUT = 10_080

§

NFS4ERR_NOT_ONLY_OP = 10_081

§

NFS4ERR_WRONG_CRED = 10_082

§

NFS4ERR_WRONG_TYPE = 10_083

§

NFS4ERR_DIRDELEG_UNAVAIL = 10_084

§

NFS4ERR_REJECT_DELEG = 10_085

§

NFS4ERR_RETURNCONFLICT = 10_086

§

NFS4ERR_DELEG_REVOKED = 10_087

Trait Implementations§

Source§

impl Clone for nfsstat4

Source§

fn clone(&self) -> nfsstat4

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for nfsstat4

Source§

impl Debug for nfsstat4

Source§

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

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

impl Display for Nfs4ErrorCode

Source§

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

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

impl Error for Nfs4ErrorCode

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl PartialEq for nfsstat4

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for nfsstat4

Source§

impl TryFrom<&mut Bytes> for nfsstat4

Source§

type Error = Error

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

fn try_from(v: &mut Bytes) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Bytes> for nfsstat4

Source§

type Error = Error

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

fn try_from(v: Bytes) -> Result<Self, Self::Error>

Performs the conversion.

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more