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.

impl Display for CreationError
[src]

Formats the value using the given formatter.

impl Error for CreationError
[src]

A short description of the error. Read more

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