Enum cpal::DefaultFormatError [] [src]

pub enum DefaultFormatError {
    DeviceNotAvailable,
    StreamTypeNotSupported,
}

May occur when attempting to request the default input or output stream format from a Device.

Variants

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

Returned if e.g. the default input format was requested on an output-only audio device.

Trait Implementations

impl Debug for DefaultFormatError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations