Struct cpal::BackendSpecificError
source · [−]pub struct BackendSpecificError {
pub description: String,
}
Expand description
Some error has occurred that is specific to the backend from which it was produced.
This error is often used as a catch-all in cases where:
- It is unclear exactly what error might be produced by the backend API.
- It does not make sense to add a variant to the enclosing error type.
- No error was expected to occur at all, but we return an error to avoid the possibility of a
panic!
caused by some unforeseen or unknown reason.
Note: If you notice a BackendSpecificError
that you believe could be better handled in a
cross-platform manner, please create an issue or submit a pull request with a patch that adds
the necessary error variant to the appropriate error enum.
Fields
description: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BackendSpecificError
impl Send for BackendSpecificError
impl Sync for BackendSpecificError
impl Unpin for BackendSpecificError
impl UnwindSafe for BackendSpecificError
Blanket Implementations
Mutably borrows from an owned value. Read more