Struct nusb::descriptors::ActiveConfigurationError
source · pub struct ActiveConfigurationError { /* private fields */ }
Expand description
Error from crate::Device::active_configuration
Trait Implementations§
source§impl Clone for ActiveConfigurationError
impl Clone for ActiveConfigurationError
source§fn clone(&self) -> ActiveConfigurationError
fn clone(&self) -> ActiveConfigurationError
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 ActiveConfigurationError
impl Debug for ActiveConfigurationError
source§impl Display for ActiveConfigurationError
impl Display for ActiveConfigurationError
source§impl Error for ActiveConfigurationError
impl Error for ActiveConfigurationError
1.30.0 · 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<ActiveConfigurationError> for Error
impl From<ActiveConfigurationError> for Error
source§fn from(value: ActiveConfigurationError) -> Self
fn from(value: ActiveConfigurationError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ActiveConfigurationError
impl PartialEq for ActiveConfigurationError
source§fn eq(&self, other: &ActiveConfigurationError) -> bool
fn eq(&self, other: &ActiveConfigurationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ActiveConfigurationError
impl Eq for ActiveConfigurationError
impl StructuralPartialEq for ActiveConfigurationError
Auto Trait Implementations§
impl Freeze for ActiveConfigurationError
impl RefUnwindSafe for ActiveConfigurationError
impl Send for ActiveConfigurationError
impl Sync for ActiveConfigurationError
impl Unpin for ActiveConfigurationError
impl UnwindSafe for ActiveConfigurationError
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