Enum cpal::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
See the BackendSpecificError
docs for more information about this error variant.
Trait Implementations§
source§impl Debug for DevicesError
impl Debug for DevicesError
source§impl Display for DevicesError
impl Display for DevicesError
source§impl Error for DevicesError
impl Error for DevicesError
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<BackendSpecificError> for DevicesError
impl From<BackendSpecificError> for DevicesError
source§fn from(source: BackendSpecificError) -> Self
fn from(source: BackendSpecificError) -> Self
Converts to this type from the input type.