pub enum OutputError {
InvalidLayout,
Start(Error),
MissingInput,
Device(Error),
Exit(ExitStatus),
}Expand description
Failure to describe, start, or use the local output.
Variants§
InvalidLayout
A raw PCM stream must name its speaker positions explicitly.
Start(Error)
The output process could not start.
MissingInput
The started process did not provide a writable PCM input.
Device(Error)
Writing, stopping, or waiting for the process failed.
Exit(ExitStatus)
The output process reported an unsuccessful exit.
Trait Implementations§
Source§impl Debug for OutputError
impl Debug for OutputError
Source§impl Display for OutputError
impl Display for OutputError
Source§impl Error for OutputError
impl Error for OutputError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for OutputError
impl !RefUnwindSafe for OutputError
impl Send for OutputError
impl Sync for OutputError
impl Unpin for OutputError
impl !UnwindSafe for OutputError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more