pub struct IoBufError<B> {
pub error: DirectIoError,
pub buffer: B,
}Expand description
Error of an operation that takes a buffer by value, which is returned back, so that its allocation can be reused
Fields§
§error: DirectIoErrorLow-level error
buffer: BBuffer that was given to the operation
Trait Implementations§
Source§impl<B: Debug> Debug for IoBufError<B>
impl<B: Debug> Debug for IoBufError<B>
Source§impl<B> Display for IoBufError<B>
impl<B> Display for IoBufError<B>
Source§impl<B> Error for IoBufError<B>
impl<B> Error for IoBufError<B>
1.30.0 · 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()
Source§impl<B> From<IoBufError<B>> for Error
impl<B> From<IoBufError<B>> for Error
Source§fn from(error: IoBufError<B>) -> Self
fn from(error: IoBufError<B>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<B> !RefUnwindSafe for IoBufError<B>
impl<B> !UnwindSafe for IoBufError<B>
impl<B> Forget for IoBufError<B>
impl<B> Freeze for IoBufError<B>
impl<B> Move for IoBufError<B>
impl<B> Send for IoBufError<B>
impl<B> Sync for IoBufError<B>
impl<B> Unpin for IoBufError<B>
impl<B> UnsafeUnpin for IoBufError<B>where
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
B: UnsafeUnpin,
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