Enum rodio::DevicesError [−][src]
pub enum DevicesError { BackendSpecific { err: BackendSpecificError, }, }
Expand description
An error that might occur while attempting to enumerate the available devices on a system.
Variants
See the BackendSpecificError
docs for more information about this error variant.
Show fields
Fields of BackendSpecific
err: BackendSpecificError
Trait Implementations
impl Debug for DevicesError
[src]
impl Debug for DevicesError
[src]impl Display for DevicesError
[src]
impl Display for DevicesError
[src]impl Error for DevicesError
[src]
impl Error for DevicesError
[src]pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<BackendSpecificError> for DevicesError
[src]
impl From<BackendSpecificError> for DevicesError
[src]pub fn from(source: BackendSpecificError) -> DevicesError
[src]
pub fn from(source: BackendSpecificError) -> DevicesError
[src]Performs the conversion.
impl From<Error> for DevicesError
[src]
impl From<Error> for DevicesError
[src]pub fn from(err: Error) -> DevicesError
[src]
pub fn from(err: Error) -> DevicesError
[src]Performs the conversion.
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more