#[non_exhaustive]
pub enum ParseTimingPointError {
Show 14 variants
InvalidTime,
MissingBeatLength,
MissingMeter,
InvalidMeter,
MissingSampleSet,
InvalidSampleSet,
MissingSampleIndex,
InvalidSampleIndex,
MissingVolume,
InvalidVolume,
MissingEffects,
InvalidEffects,
MissingUninherited,
InvalidUninherited,
}
Expand description
Error used when there was a problem parsing the TimingPoint
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidTime
Invalid time
value.
MissingBeatLength
Missing beat_length
field.
MissingMeter
Missing meter
field.
InvalidMeter
Invalid meter
value.
MissingSampleSet
Missing sample_set
field.
InvalidSampleSet
Invalid sample_set
value.
MissingSampleIndex
Missing sample_index
field.
InvalidSampleIndex
Invalid sample_index
value.
MissingVolume
Missing volume
field.
InvalidVolume
Invalid volume
value.
MissingEffects
Missing effects
field.
InvalidEffects
Invalid effects
value.
MissingUninherited
Missing uninherited
field.
InvalidUninherited
Invalid uninherited
value.
Trait Implementations
sourceimpl Debug for ParseTimingPointError
impl Debug for ParseTimingPointError
sourceimpl Display for ParseTimingPointError
impl Display for ParseTimingPointError
sourceimpl Error for ParseTimingPointError
impl Error for ParseTimingPointError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<'_derivative_strum> From<&'_derivative_strum ParseTimingPointError> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ParseTimingPointError> for &'static str
sourcefn from(x: &'_derivative_strum ParseTimingPointError) -> &'static str
fn from(x: &'_derivative_strum ParseTimingPointError) -> &'static str
Converts to this type from the input type.
sourceimpl From<Err<VerboseError<&str>>> for ParseTimingPointError
impl From<Err<VerboseError<&str>>> for ParseTimingPointError
sourcefn from(err: Err<VerboseError<&str>>) -> Self
fn from(err: Err<VerboseError<&str>>) -> Self
Converts to this type from the input type.
sourceimpl From<ParseTimingPointError> for &'static str
impl From<ParseTimingPointError> for &'static str
sourcefn from(x: ParseTimingPointError) -> &'static str
fn from(x: ParseTimingPointError) -> &'static str
Converts to this type from the input type.
sourceimpl From<ParseTimingPointError> for ParseError
impl From<ParseTimingPointError> for ParseError
sourcefn from(source: ParseTimingPointError) -> Self
fn from(source: ParseTimingPointError) -> Self
Converts to this type from the input type.
sourceimpl FromStr for ParseTimingPointError
impl FromStr for ParseTimingPointError
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&str> for ParseTimingPointError
impl TryFrom<&str> for ParseTimingPointError
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for ParseTimingPointError
impl Send for ParseTimingPointError
impl Sync for ParseTimingPointError
impl Unpin for ParseTimingPointError
impl UnwindSafe for ParseTimingPointError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more