Enum voicemeeter::interface::parameters::ParameterError
source · pub enum ParameterError {
Version(InvalidVoicemeeterVersion),
Type(InvalidTypeError),
OutOfRange(OutOfRangeError),
Device(DeviceError),
}
Available on crate feature
interface
only.Expand description
Invalid Parameter
Variants§
Version(InvalidVoicemeeterVersion)
Version is not compatible with parameter
Type(InvalidTypeError)
Strip/bus is not compatible with parameter
OutOfRange(OutOfRangeError)
Parameter index is out of range
Device(DeviceError)
Device is invalid for parameter
Trait Implementations§
source§impl Clone for ParameterError
impl Clone for ParameterError
source§fn clone(&self) -> ParameterError
fn clone(&self) -> ParameterError
Returns a copy 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 ParameterError
impl Debug for ParameterError
source§impl Display for ParameterError
impl Display for ParameterError
source§impl Error for ParameterError
impl Error for ParameterError
source§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()
source§impl From<DeviceError> for ParameterError
impl From<DeviceError> for ParameterError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidTypeError> for ParameterError
impl From<InvalidTypeError> for ParameterError
source§fn from(source: InvalidTypeError) -> Self
fn from(source: InvalidTypeError) -> Self
Converts to this type from the input type.
source§impl From<InvalidVoicemeeterVersion> for ParameterError
impl From<InvalidVoicemeeterVersion> for ParameterError
source§fn from(source: InvalidVoicemeeterVersion) -> Self
fn from(source: InvalidVoicemeeterVersion) -> Self
Converts to this type from the input type.
source§impl From<OutOfRangeError> for ParameterError
impl From<OutOfRangeError> for ParameterError
source§fn from(source: OutOfRangeError) -> Self
fn from(source: OutOfRangeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ParameterError
impl Send for ParameterError
impl Sync for ParameterError
impl Unpin for ParameterError
impl UnwindSafe for ParameterError
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