pub enum DeviceError {
Status(Status),
Fidl(Error),
InvalidQueue(u16),
BadQueueConfig(u16),
UnexpectedMessage(VirtioDeviceRequest),
UnexpectedEndOfStream,
Bell(BellError),
Other(Error),
}
Variants§
Status(Status)
Fidl(Error)
InvalidQueue(u16)
BadQueueConfig(u16)
UnexpectedMessage(VirtioDeviceRequest)
UnexpectedEndOfStream
Bell(BellError)
Other(Error)
Trait Implementations§
source§impl Debug for DeviceError
impl Debug for DeviceError
source§impl Display for DeviceError
impl Display for DeviceError
source§impl Error for DeviceError
impl Error for DeviceError
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()
source§impl From<BellError> for DeviceError
impl From<BellError> for DeviceError
source§impl From<Error> for DeviceError
impl From<Error> for DeviceError
source§impl From<Error> for DeviceError
impl From<Error> for DeviceError
Auto Trait Implementations§
impl Freeze for DeviceError
impl !RefUnwindSafe for DeviceError
impl Send for DeviceError
impl Sync for DeviceError
impl Unpin for DeviceError
impl !UnwindSafe for DeviceError
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