pub struct AioError<Handle> {
pub buffer: Handle,
pub error: Error,
}
Expand description
An error type for I/O operations that allows us to return the memory handle in failure cases.
Fields§
§buffer: Handle
§error: Error
Trait Implementations§
Source§impl<Handle> Error for AioError<Handle>
impl<Handle> Error for AioError<Handle>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl<Handle> Freeze for AioError<Handle>where
Handle: Freeze,
impl<Handle> !RefUnwindSafe for AioError<Handle>
impl<Handle> Send for AioError<Handle>where
Handle: Send,
impl<Handle> Sync for AioError<Handle>where
Handle: Sync,
impl<Handle> Unpin for AioError<Handle>where
Handle: Unpin,
impl<Handle> !UnwindSafe for AioError<Handle>
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