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]
impl Debug for CreationError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for CreationError
[src]
impl Display for CreationError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for CreationError
[src]
impl Error for CreationError
Auto Trait Implementations
impl Send for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Sync for CreationError