Enum holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::one_err::ErrNo
source · #[non_exhaustive]#[repr(i32)]pub enum ErrNo {
Show 73 variants
Perm = 1,
NoEnt = 2,
Srch = 3,
Intr = 4,
Io = 5,
NxIo = 6,
TooBig = 7,
NoExec = 8,
BadF = 9,
Child = 10,
NoMem = 12,
Fault = 14,
Busy = 16,
Exist = 17,
XDev = 18,
NoDev = 19,
NotDir = 20,
IsDir = 21,
Inval = 22,
NFile = 23,
MFile = 24,
NotTy = 25,
TxtBsy = 26,
FBig = 27,
NoSpc = 28,
SPipe = 29,
ROFS = 30,
MLink = 31,
Pipe = 32,
Dom = 33,
Range = 34,
DeadLk = 35,
NameTooLong = 36,
NoLck = 37,
NoSys = 38,
NotEmpty = 39,
Loop = 40,
WouldBlock = 11,
NoMsg = 42,
IdRm = 43,
NoStr = 60,
NoData = 61,
Time = 62,
NoSR = 63,
NoLink = 67,
Proto = 71,
BadMsg = 74,
Overflow = 75,
IlSeq = 84,
NotSock = 88,
DestAddrReq = 89,
MsgSize = 90,
ProtoType = 91,
NoProtoOpt = 92,
ProtoNoSupport = 93,
OpNotSupp = 95,
AFNoSupport = 97,
AddrInUse = 98,
AddrNotAvail = 99,
NetDown = 100,
NetUnreach = 101,
NetReset = 102,
ConnAborted = 103,
ConnReset = 104,
NoBufS = 105,
IsConn = 106,
NotConn = 107,
TimedOut = 110,
ConnRefused = 111,
HostUnreach = 113,
Already = 114,
InProgress = 115,
Other = -1,
}
Expand description
Rust translation of errno.h
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Perm = 1
Permission denied
NoEnt = 2
No such file or directory
Srch = 3
No such process
Intr = 4
Interrupted system call
Io = 5
I/O error
NxIo = 6
No such device or address
TooBig = 7
Arg list too long
NoExec = 8
Exec format error
BadF = 9
Bad file number
Child = 10
No child processes
NoMem = 12
Out of memory
Fault = 14
Bad address
Busy = 16
Device or resource busy
Exist = 17
File exists
XDev = 18
Cross-device link
NoDev = 19
No such device
NotDir = 20
Not a directory
IsDir = 21
Is a directory
Inval = 22
Invalid argument
NFile = 23
File table overflow
MFile = 24
Too many open files
NotTy = 25
Not a typewriter
TxtBsy = 26
Text file busy
FBig = 27
File too large
NoSpc = 28
No space left on device
SPipe = 29
Illegal seek
ROFS = 30
Read-only file system
MLink = 31
Too many links
Pipe = 32
Broken pipe
Dom = 33
Math argument out of domain of func
Range = 34
Math result not representable
DeadLk = 35
Resource deadlock would occur
NameTooLong = 36
File name too long
NoLck = 37
No record locks available
NoSys = 38
Function not implemented
NotEmpty = 39
Directory not empty
Loop = 40
Too many symbolic links encountered
WouldBlock = 11
Operation would block
NoMsg = 42
No message of desired type
IdRm = 43
Identifier removed
NoStr = 60
Device not a stream
NoData = 61
No data available
Time = 62
Timer expired
NoSR = 63
Out of streams resources
NoLink = 67
Link has been severed
Proto = 71
Protocol error
BadMsg = 74
Not a data message
Overflow = 75
Value too large for defined data type
IlSeq = 84
Illegal byte sequence
NotSock = 88
Socket operation on non-socket
DestAddrReq = 89
Destination address required
MsgSize = 90
Message too long
ProtoType = 91
Protocol wrong type for socket
NoProtoOpt = 92
Protocol not available
ProtoNoSupport = 93
Protocol not supported
OpNotSupp = 95
Operation not supported on transport endpoint
AFNoSupport = 97
Address family not supported by protocol
AddrInUse = 98
Address already in use
AddrNotAvail = 99
Cannot assign requested address
NetDown = 100
Network is down
NetUnreach = 101
Network is unreachable
NetReset = 102
Network dropped connection because of reset
ConnAborted = 103
Software caused connection abort
ConnReset = 104
Connection reset by peer
NoBufS = 105
No buffer space available
IsConn = 106
Transport endpoint is already connected
NotConn = 107
Transport endpoint is not connected
TimedOut = 110
Connection timed out
ConnRefused = 111
Connection refused
HostUnreach = 113
No route to host
Already = 114
Operation already in progress
InProgress = 115
Operation now in progress
Other = -1
Other / Unrecognized Error
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErrNo
impl<'de> Deserialize<'de> for ErrNo
source§fn deserialize<D>(
deserializer: D
) -> Result<ErrNo, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ErrNo, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
source§impl Ord for ErrNo
impl Ord for ErrNo
source§impl PartialEq for ErrNo
impl PartialEq for ErrNo
source§impl PartialOrd for ErrNo
impl PartialOrd for ErrNo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ErrNo
impl Serialize for ErrNo
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl Copy for ErrNo
impl Eq for ErrNo
impl StructuralEq for ErrNo
impl StructuralPartialEq for ErrNo
Auto Trait Implementations§
impl RefUnwindSafe for ErrNo
impl Send for ErrNo
impl Sync for ErrNo
impl Unpin for ErrNo
impl UnwindSafe for ErrNo
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
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
§impl<T> CallHasher for T
impl<T> CallHasher for T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.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
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.