pub enum InvalidValueError {
TimeStretchMode,
LoopMode,
TrigQuantizationMode,
TrigCondition,
MidiChannel,
SlotType,
}Expand description
Errors when parsing a value with TryFrom for some Enum
Variants§
TimeStretchMode
Error when parsing values with TimeStretchMode::try_from
LoopMode
Error when parsing values with LoopMode::try_from
TrigQuantizationMode
Error when parsing values with TrigQuantizationMode::try_from
TrigCondition
Error when parsing values with TrigCondition::try_from
MidiChannel
Error when parsing values with MidiChannel::try_from
SlotType
Error when parsing values with SlotType::try_from
Trait Implementations§
Source§impl Debug for InvalidValueError
impl Debug for InvalidValueError
Source§impl Display for InvalidValueError
impl Display for InvalidValueError
Source§impl Error for InvalidValueError
impl Error for InvalidValueError
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()
Source§impl From<InvalidValueError> for OtToolsIoError
impl From<InvalidValueError> for OtToolsIoError
Source§fn from(source: InvalidValueError) -> Self
fn from(source: InvalidValueError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidValueError> for ProjectParseError
impl From<InvalidValueError> for ProjectParseError
Source§fn from(source: InvalidValueError) -> Self
fn from(source: InvalidValueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidValueError
impl RefUnwindSafe for InvalidValueError
impl Send for InvalidValueError
impl Sync for InvalidValueError
impl Unpin for InvalidValueError
impl UnwindSafe for InvalidValueError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more