#[repr(i64)]pub enum SyscallError {
Show 26 variants
PermissionDenied = -1,
NotFound = -2,
Interrupted = -4,
IoError = -5,
ArgumentListTooLong = -7,
ExecFormatError = -8,
BadHandle = -9,
NoChildren = -10,
Again = -11,
OutOfMemory = -12,
AccessDenied = -13,
Fault = -14,
AlreadyExists = -17,
InvalidArgument = -22,
NotATty = -25,
NotADirectory = -20,
IsADirectory = -21,
NoSpace = -28,
Pipe = -32,
Range = -34,
NameTooLong = -36,
NotImplemented = -38,
NotEmpty = -39,
NotSupported = -52,
QueueFull = -105,
TimedOut = -110,
}Variants§
PermissionDenied = -1
NotFound = -2
Interrupted = -4
IoError = -5
ArgumentListTooLong = -7
ExecFormatError = -8
BadHandle = -9
NoChildren = -10
Again = -11
OutOfMemory = -12
AccessDenied = -13
Fault = -14
AlreadyExists = -17
InvalidArgument = -22
NotATty = -25
NotADirectory = -20
IsADirectory = -21
NoSpace = -28
Pipe = -32
Range = -34
NameTooLong = -36
NotImplemented = -38
NotEmpty = -39
NotSupported = -52
QueueFull = -105
TimedOut = -110
Implementations§
Trait Implementations§
Source§impl Clone for SyscallError
impl Clone for SyscallError
Source§fn clone(&self) -> SyscallError
fn clone(&self) -> SyscallError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyscallError
impl Debug for SyscallError
Source§impl Display for SyscallError
impl Display for SyscallError
Source§impl Error for SyscallError
impl Error for SyscallError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BlockError> for SyscallError
impl From<BlockError> for SyscallError
Source§fn from(err: BlockError) -> Self
fn from(err: BlockError) -> Self
Performs the from operation.
Source§impl From<ChannelError> for SyscallError
impl From<ChannelError> for SyscallError
Source§fn from(err: ChannelError) -> Self
fn from(err: ChannelError) -> Self
Performs the from operation.
Source§impl From<Error> for SyscallError
impl From<Error> for SyscallError
Source§impl From<IpcError> for SyscallError
impl From<IpcError> for SyscallError
Source§impl From<MapError> for SyscallError
impl From<MapError> for SyscallError
Source§impl From<NetError> for SyscallError
impl From<NetError> for SyscallError
Source§impl From<SyscallError> for i64
impl From<SyscallError> for i64
Source§fn from(enum_value: SyscallError) -> Self
fn from(enum_value: SyscallError) -> Self
Converts to this type from the input type.
Source§impl From<UserSliceError> for SyscallError
impl From<UserSliceError> for SyscallError
Source§fn from(e: UserSliceError) -> Self
fn from(e: UserSliceError) -> Self
Performs the from operation.
Source§impl From<Utf8Error> for SyscallError
impl From<Utf8Error> for SyscallError
Source§impl PartialEq for SyscallError
impl PartialEq for SyscallError
Source§impl TryFrom<i64> for SyscallError
impl TryFrom<i64> for SyscallError
Source§impl TryFromPrimitive for SyscallError
impl TryFromPrimitive for SyscallError
impl Copy for SyscallError
impl Eq for SyscallError
impl StructuralPartialEq for SyscallError
Auto Trait Implementations§
impl Freeze for SyscallError
impl RefUnwindSafe for SyscallError
impl Send for SyscallError
impl Sync for SyscallError
impl Unpin for SyscallError
impl UnsafeUnpin for SyscallError
impl UnwindSafe for SyscallError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more