pub enum RemoteWakeupError {
InvalidState,
Unsupported,
}
Expand description
Error returned by UsbDevice::remote_wakeup
.
Variants§
InvalidState
The USB device is not suspended, or remote wakeup was not enabled.
Unsupported
The underlying driver doesn’t support remote wakeup.
Trait Implementations§
Source§impl Clone for RemoteWakeupError
impl Clone for RemoteWakeupError
Source§fn clone(&self) -> RemoteWakeupError
fn clone(&self) -> RemoteWakeupError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RemoteWakeupError
impl Debug for RemoteWakeupError
Source§impl Format for RemoteWakeupError
impl Format for RemoteWakeupError
Source§impl From<Unsupported> for RemoteWakeupError
impl From<Unsupported> for RemoteWakeupError
Source§fn from(_: Unsupported) -> Self
fn from(_: Unsupported) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemoteWakeupError
impl PartialEq for RemoteWakeupError
impl Copy for RemoteWakeupError
impl Eq for RemoteWakeupError
impl StructuralPartialEq for RemoteWakeupError
Auto Trait Implementations§
impl Freeze for RemoteWakeupError
impl RefUnwindSafe for RemoteWakeupError
impl Send for RemoteWakeupError
impl Sync for RemoteWakeupError
impl Unpin for RemoteWakeupError
impl UnwindSafe for RemoteWakeupError
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