Enum nannou_audio::PlayStreamError [−][src]
pub enum PlayStreamError {
DeviceNotAvailable,
BackendSpecific {
err: BackendSpecificError,
},
}
Expand description
Errors that might occur when calling play_stream
.
As of writing this, only macOS may immediately return an error while calling this method. This is because both the alsa and wasapi backends only enqueue these commands and do not process them immediately.
Variants
The device associated with the stream is no longer available.
See the BackendSpecificError
docs for more information about this error variant.
Fields of BackendSpecific
err: BackendSpecificError
Trait Implementations
Performs the conversion.