Enum embassy_usb::RemoteWakeupError
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)