pub enum ControllerError {
InvalidController,
ControllerBusy,
Unknown(i32),
}Expand description
Represents possible error states for a controller.
Variants§
InvalidController
Controller ID does not exist.
ControllerBusy
Another resource is currently trying to access the controller port.
Unknown(i32)
Unknown Errno.
Trait Implementations§
Source§impl Debug for ControllerError
impl Debug for ControllerError
Source§impl From<ControllerError> for Error
impl From<ControllerError> for Error
Source§fn from(err: ControllerError) -> Self
fn from(err: ControllerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ControllerError
impl RefUnwindSafe for ControllerError
impl Send for ControllerError
impl Sync for ControllerError
impl Unpin for ControllerError
impl UnwindSafe for ControllerError
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