Enum cpal::DeviceNameError
source · pub enum DeviceNameError {
BackendSpecific {
err: BackendSpecificError,
},
}
Expand description
An error that may occur while attempting to retrieve a device name.
Variants§
BackendSpecific
Fields
See the BackendSpecificError
docs for more information about this error variant.
Trait Implementations§
source§impl Clone for DeviceNameError
impl Clone for DeviceNameError
source§fn clone(&self) -> DeviceNameError
fn clone(&self) -> DeviceNameError
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 DeviceNameError
impl Debug for DeviceNameError
source§impl Display for DeviceNameError
impl Display for DeviceNameError
source§impl Error for DeviceNameError
impl Error for DeviceNameError
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<BackendSpecificError> for DeviceNameError
impl From<BackendSpecificError> for DeviceNameError
source§fn from(err: BackendSpecificError) -> Self
fn from(err: BackendSpecificError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DeviceNameError
impl Send for DeviceNameError
impl Sync for DeviceNameError
impl Unpin for DeviceNameError
impl UnwindSafe for DeviceNameError
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