[]Enum std::os::fortanix_sgx::usercalls::raw::Error

#[repr(i32)]pub enum Error {
    PermissionDenied,
    NotFound,
    Interrupted,
    WouldBlock,
    AlreadyExists,
    InvalidInput,
    BrokenPipe,
    AddrInUse,
    AddrNotAvailable,
    ConnectionAborted,
    ConnectionReset,
    NotConnected,
    TimedOut,
    ConnectionRefused,
    InvalidData,
    WriteZero,
    UnexpectedEof,
    Other,
    UserRangeStart,
    UserRangeEnd,
}
🔬 This is a nightly-only experimental API. (sgx_platform #56975)

Error code definitions and space allocation.

Only non-zero positive values are valid errors. The variants are designed to map to std::io::ErrorKind. See the source for the value mapping.

Variants

PermissionDenied
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
NotFound
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
Interrupted
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
WouldBlock
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
AlreadyExists
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
InvalidInput
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
BrokenPipe
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
AddrInUse
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
AddrNotAvailable
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
ConnectionAborted
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
ConnectionReset
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
NotConnected
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
TimedOut
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
ConnectionRefused
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
InvalidData
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
WriteZero
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
UnexpectedEof
🔬 This is a nightly-only experimental API. (sgx_platform #56975)
Other
🔬 This is a nightly-only experimental API. (sgx_platform #56975)

This value is reserved for Other, but all undefined values also map to Other.

UserRangeStart
🔬 This is a nightly-only experimental API. (sgx_platform #56975)

Start of the range of values reserved for user-defined errors.

UserRangeEnd
🔬 This is a nightly-only experimental API. (sgx_platform #56975)

End (inclusive) of the range of values reserved for user-defined errors.

Trait Implementations

impl Clone for Error

impl Copy for Error

impl Eq for Error

impl PartialEq<Error> for Error

impl StructuralEq for Error

impl StructuralPartialEq for Error

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.