#[non_exhaustive]
pub enum ParseAudioSampleError {
MissingTime,
InvalidTime,
MissingLayer,
InvalidLayer,
MissingVolume,
InvalidVolume,
WrongEvent,
MissingFilepath,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingTime
InvalidTime
MissingLayer
InvalidLayer
MissingVolume
InvalidVolume
WrongEvent
MissingFilepath
Trait Implementations
sourceimpl Debug for ParseAudioSampleError
impl Debug for ParseAudioSampleError
sourceimpl Display for ParseAudioSampleError
impl Display for ParseAudioSampleError
sourceimpl Error for ParseAudioSampleError
impl Error for ParseAudioSampleError
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
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<'_derivative_strum> From<&'_derivative_strum ParseAudioSampleError> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ParseAudioSampleError> for &'static str
sourcefn from(x: &'_derivative_strum ParseAudioSampleError) -> &'static str
fn from(x: &'_derivative_strum ParseAudioSampleError) -> &'static str
Converts to this type from the input type.
sourceimpl From<Err<VerboseError<&str>>> for ParseAudioSampleError
impl From<Err<VerboseError<&str>>> for ParseAudioSampleError
sourcefn from(err: Err<VerboseError<&str>>) -> Self
fn from(err: Err<VerboseError<&str>>) -> Self
Converts to this type from the input type.
sourceimpl From<ParseAudioSampleError> for &'static str
impl From<ParseAudioSampleError> for &'static str
sourcefn from(x: ParseAudioSampleError) -> &'static str
fn from(x: ParseAudioSampleError) -> &'static str
Converts to this type from the input type.
sourceimpl From<ParseAudioSampleError> for ParseError
impl From<ParseAudioSampleError> for ParseError
sourcefn from(source: ParseAudioSampleError) -> Self
fn from(source: ParseAudioSampleError) -> Self
Converts to this type from the input type.
sourceimpl FromStr for ParseAudioSampleError
impl FromStr for ParseAudioSampleError
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&str> for ParseAudioSampleError
impl TryFrom<&str> for ParseAudioSampleError
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for ParseAudioSampleError
impl Send for ParseAudioSampleError
impl Sync for ParseAudioSampleError
impl Unpin for ParseAudioSampleError
impl UnwindSafe for ParseAudioSampleError
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