pub enum Error {
IoError(IoError),
InvalidInput(String),
InvalidBufferSizes,
}
Expand description
Crate specific error type
Variants§
IoError(IoError)
An error that occurred during an I/O operation. See IoError
InvalidInput(String)
An error that is related to input data being invalid. Each function that possibly returns this error has detailed information about when it returns this error type.
InvalidBufferSizes
At least one passed buffer does not fulfill its size requirements
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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