Enum holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::one_err::ErrNo
source · #[non_exhaustive]
pub enum ErrNo {
Show 73 variants
Perm,
NoEnt,
Srch,
Intr,
Io,
NxIo,
TooBig,
NoExec,
BadF,
Child,
NoMem,
Fault,
Busy,
Exist,
XDev,
NoDev,
NotDir,
IsDir,
Inval,
NFile,
MFile,
NotTy,
TxtBsy,
FBig,
NoSpc,
SPipe,
ROFS,
MLink,
Pipe,
Dom,
Range,
DeadLk,
NameTooLong,
NoLck,
NoSys,
NotEmpty,
Loop,
WouldBlock,
NoMsg,
IdRm,
NoStr,
NoData,
Time,
NoSR,
NoLink,
Proto,
BadMsg,
Overflow,
IlSeq,
NotSock,
DestAddrReq,
MsgSize,
ProtoType,
NoProtoOpt,
ProtoNoSupport,
OpNotSupp,
AFNoSupport,
AddrInUse,
AddrNotAvail,
NetDown,
NetUnreach,
NetReset,
ConnAborted,
ConnReset,
NoBufS,
IsConn,
NotConn,
TimedOut,
ConnRefused,
HostUnreach,
Already,
InProgress,
Other,
}
Expand description
Rust translation of errno.h
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Perm
Permission denied
NoEnt
No such file or directory
Srch
No such process
Intr
Interrupted system call
Io
I/O error
NxIo
No such device or address
TooBig
Arg list too long
NoExec
Exec format error
BadF
Bad file number
Child
No child processes
NoMem
Out of memory
Fault
Bad address
Busy
Device or resource busy
Exist
File exists
XDev
Cross-device link
NoDev
No such device
NotDir
Not a directory
IsDir
Is a directory
Inval
Invalid argument
NFile
File table overflow
MFile
Too many open files
NotTy
Not a typewriter
TxtBsy
Text file busy
FBig
File too large
NoSpc
No space left on device
SPipe
Illegal seek
ROFS
Read-only file system
MLink
Too many links
Pipe
Broken pipe
Dom
Math argument out of domain of func
Range
Math result not representable
DeadLk
Resource deadlock would occur
NameTooLong
File name too long
NoLck
No record locks available
NoSys
Function not implemented
NotEmpty
Directory not empty
Loop
Too many symbolic links encountered
WouldBlock
Operation would block
NoMsg
No message of desired type
IdRm
Identifier removed
NoStr
Device not a stream
NoData
No data available
Time
Timer expired
NoSR
Out of streams resources
NoLink
Link has been severed
Proto
Protocol error
BadMsg
Not a data message
Overflow
Value too large for defined data type
IlSeq
Illegal byte sequence
NotSock
Socket operation on non-socket
DestAddrReq
Destination address required
MsgSize
Message too long
ProtoType
Protocol wrong type for socket
NoProtoOpt
Protocol not available
ProtoNoSupport
Protocol not supported
OpNotSupp
Operation not supported on transport endpoint
AFNoSupport
Address family not supported by protocol
AddrInUse
Address already in use
AddrNotAvail
Cannot assign requested address
NetDown
Network is down
NetUnreach
Network is unreachable
NetReset
Network dropped connection because of reset
ConnAborted
Software caused connection abort
ConnReset
Connection reset by peer
NoBufS
No buffer space available
IsConn
Transport endpoint is already connected
NotConn
Transport endpoint is not connected
TimedOut
Connection timed out
ConnRefused
Connection refused
HostUnreach
No route to host
Already
Operation already in progress
InProgress
Operation now in progress
Other
Other / Unrecognized Error
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ErrNo
impl<'de> Deserialize<'de> for ErrNo
sourcefn 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>,
sourceimpl Ord for ErrNo
impl Ord for ErrNo
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
sourceimpl PartialOrd<ErrNo> for ErrNo
impl PartialOrd<ErrNo> for ErrNo
sourcefn partial_cmp(&self, other: &ErrNo) -> Option<Ordering>
fn partial_cmp(&self, other: &ErrNo) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for ErrNo
impl Serialize for ErrNo
sourcefn 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> Any for Twhere
T: Any + ?Sized,
impl<T> Any for Twhere
T: Any + ?Sized,
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
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>
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
sourcefn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
sourcefn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 morefn 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.