pub enum AudioEffectState {
ProcessOk,
ProcessError,
ParamNoEntry,
ParamStrInvalid(String),
EffectOk,
EffectResetFailed,
EffectAlreadyExists,
EffectNoEntry,
}Expand description
Represents the state of an audio effect after processing or parameter operations. This enum is used to indicate success or various error conditions in audio effect handling.
Variants§
ProcessOk
Processing completed successfully.
ProcessError
An error occurred during processing.
ParamNoEntry
The specified parameter does not exist.
ParamStrInvalid(String)
The provided string parameter value is invalid, with the error message.
EffectOk
The effect operation was successful.
EffectResetFailed
Failed to reset the effect.
EffectAlreadyExists
An effect with the same name already exists.
EffectNoEntry
The specified effect does not exist.
Trait Implementations§
Source§impl Clone for AudioEffectState
impl Clone for AudioEffectState
Source§fn clone(&self) -> AudioEffectState
fn clone(&self) -> AudioEffectState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioEffectState
impl Debug for AudioEffectState
Source§impl PartialEq for AudioEffectState
impl PartialEq for AudioEffectState
impl Eq for AudioEffectState
impl StructuralPartialEq for AudioEffectState
Auto Trait Implementations§
impl Freeze for AudioEffectState
impl RefUnwindSafe for AudioEffectState
impl Send for AudioEffectState
impl Sync for AudioEffectState
impl Unpin for AudioEffectState
impl UnwindSafe for AudioEffectState
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