Enum rodio::DevicesError
source · [−]pub enum DevicesError {
BackendSpecific {
err: BackendSpecificError,
},
}
Expand description
An error that might occur while attempting to enumerate the available devices on a system.
Variants
BackendSpecific
Fields
err: BackendSpecificError
See the BackendSpecificError
docs for more information about this error variant.
Trait Implementations
sourceimpl Debug for DevicesError
impl Debug for DevicesError
sourceimpl Display for DevicesError
impl Display for DevicesError
sourceimpl Error for DevicesError
impl Error for DevicesError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<BackendSpecificError> for DevicesError
impl From<BackendSpecificError> for DevicesError
sourcefn from(source: BackendSpecificError) -> DevicesError
fn from(source: BackendSpecificError) -> DevicesError
Converts to this type from the input type.
sourceimpl From<Error> for DevicesError
impl From<Error> for DevicesError
sourcefn from(err: Error) -> DevicesError
fn from(err: Error) -> DevicesError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DevicesError
impl Send for DevicesError
impl Sync for DevicesError
impl Unpin for DevicesError
impl UnwindSafe for DevicesError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more