Enum cpal::SupportedStreamConfigsError
source · [−]pub enum SupportedStreamConfigsError {
DeviceNotAvailable,
InvalidArgument,
BackendSpecific {
err: BackendSpecificError,
},
}
Expand description
Error that can happen when enumerating the list of supported formats.
Variants
DeviceNotAvailable
The device no longer exists. This can happen if the device is disconnected while the program is running.
InvalidArgument
We called something the C-Layer did not understand
BackendSpecific
Fields
err: BackendSpecificError
See the BackendSpecificError
docs for more information about this error variant.
Trait Implementations
Performs the conversion.