Enum cpal::StreamError
source · [−]pub enum StreamError {
DeviceNotAvailable,
BackendSpecific {
err: BackendSpecificError,
},
}
Expand description
Errors that might occur while a stream is running.
Variants
DeviceNotAvailable
The device no longer exists. This can happen if the device is disconnected while the program is running.
BackendSpecific
Fields
err: BackendSpecificError
See the BackendSpecificError
docs for more information about this error variant.
Trait Implementations
Performs the conversion.