Enum comfy_wgpu::kira::track::SetRouteError
pub enum SetRouteError {
NonexistentRoute,
CommandError(CommandError),
}Expand description
Errors that can occur when changing the volume of a track route.
Variants§
NonexistentRoute
Cannot change the volume of a track route that did not exist originally.
CommandError(CommandError)
An error occurred when sending a command to the audio renderer.
Trait Implementations§
§impl Debug for SetRouteError
impl Debug for SetRouteError
§impl Display for SetRouteError
impl Display for SetRouteError
§impl Error for SetRouteError
impl Error for SetRouteError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for SetRouteError
impl Send for SetRouteError
impl Sync for SetRouteError
impl Unpin for SetRouteError
impl UnwindSafe for SetRouteError
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