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]

[src]

Formats the value using the given formatter. Read more

impl Display for CreationError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for CreationError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

Auto Trait Implementations

impl Send for CreationError

impl Sync for CreationError