Enum fortanix_sgx_abi::Error
source · #[repr(i32)]
pub enum Error {
Show 20 variants
PermissionDenied,
NotFound,
Interrupted,
WouldBlock,
AlreadyExists,
InvalidInput,
BrokenPipe,
AddrInUse,
AddrNotAvailable,
ConnectionAborted,
ConnectionReset,
NotConnected,
TimedOut,
ConnectionRefused,
InvalidData,
WriteZero,
UnexpectedEof,
Other,
UserRangeStart,
UserRangeEnd,
}
Expand description
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
NotFound
Interrupted
WouldBlock
AlreadyExists
InvalidInput
BrokenPipe
AddrInUse
AddrNotAvailable
ConnectionAborted
ConnectionReset
NotConnected
TimedOut
ConnectionRefused
InvalidData
WriteZero
UnexpectedEof
Other
This value is reserved for Other
, but all undefined values also map
to Other
.
UserRangeStart
Start of the range of values reserved for user-defined errors.
UserRangeEnd
End (inclusive) of the range of values reserved for user-defined errors.
Trait Implementations
impl Copy for Error
impl Eq 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
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
Mutably borrows from an owned value. Read more