pub enum AioCommandError {
AioStopped,
IoSubmit(Error),
BadResult(Error),
NonZeroCode,
CapacityExceeded,
}
Expand description
AIO command error
Variants§
AioStopped
AIO context was stopped
IoSubmit(Error)
Error from io_submit
BadResult(Error)
Bad result received
NonZeroCode
Non-zero length returned
CapacityExceeded
The capacity of AIO context exceeded. Happens if use_semaphore
set to false
and the code attempts to send more requests than kernel-threads.
Trait Implementations§
Source§impl Debug for AioCommandError
impl Debug for AioCommandError
Source§impl Display for AioCommandError
impl Display for AioCommandError
Source§impl Error for AioCommandError
impl Error for AioCommandError
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()
Auto Trait Implementations§
impl Freeze for AioCommandError
impl !RefUnwindSafe for AioCommandError
impl Send for AioCommandError
impl Sync for AioCommandError
impl Unpin for AioCommandError
impl !UnwindSafe for AioCommandError
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