Enum cpal::CreationError
[−]
[src]
pub enum CreationError { DeviceNotAvailable, FormatNotSupported, }
Error that can happen when creating a Voice
.
Variants
DeviceNotAvailable
The device no longer exists. This can happen if the device is disconnected while the program is running.
FormatNotSupported
The required format is not supported.
Trait Implementations
impl Debug for CreationError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for CreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more