Enum cpal::CreationError[][src]

pub enum CreationError {
    DeviceNotAvailable,
    FormatNotSupported,
}

Error that can happen when creating a Voice.

Variants

The device no longer exists. This can happen if the device is disconnected while the program is running.

The required format is not supported.

Trait Implementations

impl Debug for CreationError
[src]

Formats the value using the given formatter. Read more

impl Display for CreationError
[src]

Formats the value using the given formatter. Read more

impl Error for CreationError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations