Enum cros_async::sys::unix::uring_executor::Error
source · pub enum Error {
CreatingContext(Error),
DuplicatingFd(Error),
EnablingContext(Error),
ExecutorGone,
InvalidOffset,
InvalidSource,
Io(Error),
RegisteringURingRestriction(Error),
RemovingWaker(Error),
SubmittingOp(Error),
URingContextError(Error),
URingEnter(Error),
}
Variants§
CreatingContext(Error)
Creating a context to wait on FDs failed.
DuplicatingFd(Error)
Failed to copy the FD for the polling context.
EnablingContext(Error)
Enabling a context faild.
ExecutorGone
The Executor is gone.
InvalidOffset
Invalid offset or length given for an iovec in backing memory.
InvalidSource
Invalid FD source specified.
Io(Error)
Error doing the IO.
RegisteringURingRestriction(Error)
Registering operation restrictions to a uring failed.
RemovingWaker(Error)
Failed to remove the waker remove the polling context.
SubmittingOp(Error)
Failed to submit the operation to the polling context.
URingContextError(Error)
URingContext failure.
URingEnter(Error)
Failed to submit or wait for io_uring events.
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()