pub enum IoDeviceError {
Disconnected,
BufferOverflow,
}Expand description
These are errors that an IoDevice may throw when it is requested to
perform an operation.
Variants§
Disconnected
This error needs to be thrown when the IoDevice has disconnected
and can therefore no longer provide input.
BufferOverflow
This error indicates that the IoDevice has experienced an internal
buffer overflow condition.
Trait Implementations§
Source§impl Debug for IoDeviceError
impl Debug for IoDeviceError
Source§impl Format for IoDeviceError
impl Format for IoDeviceError
Source§impl From<IoDeviceError> for MenuError
impl From<IoDeviceError> for MenuError
Source§fn from(value: IoDeviceError) -> Self
fn from(value: IoDeviceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IoDeviceError
impl PartialEq for IoDeviceError
impl StructuralPartialEq for IoDeviceError
Auto Trait Implementations§
impl Freeze for IoDeviceError
impl RefUnwindSafe for IoDeviceError
impl Send for IoDeviceError
impl Sync for IoDeviceError
impl Unpin for IoDeviceError
impl UnwindSafe for IoDeviceError
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