pub enum ParseDecimalFloatingPointWithTitleError {
InvalidDuration(ParseFloatError),
InvalidTitle(Utf8Error),
}Expand description
An error in trying to convert into a decimal float with a title (used in the EXTINF tag).
Variants§
InvalidDuration(ParseFloatError)
The duration is not a valid number.
InvalidTitle(Utf8Error)
The title is not valid UTF-8.
Trait Implementations§
Source§impl Clone for ParseDecimalFloatingPointWithTitleError
impl Clone for ParseDecimalFloatingPointWithTitleError
Source§fn clone(&self) -> ParseDecimalFloatingPointWithTitleError
fn clone(&self) -> ParseDecimalFloatingPointWithTitleError
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 Error for ParseDecimalFloatingPointWithTitleError
impl Error for ParseDecimalFloatingPointWithTitleError
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<ParseDecimalFloatingPointWithTitleError> for ParseTagValueError
impl From<ParseDecimalFloatingPointWithTitleError> for ParseTagValueError
Source§fn from(value: ParseDecimalFloatingPointWithTitleError) -> Self
fn from(value: ParseDecimalFloatingPointWithTitleError) -> Self
Converts to this type from the input type.
Source§impl From<ParseDecimalFloatingPointWithTitleError> for ValidationError
impl From<ParseDecimalFloatingPointWithTitleError> for ValidationError
Source§fn from(value: ParseDecimalFloatingPointWithTitleError) -> Self
fn from(value: ParseDecimalFloatingPointWithTitleError) -> Self
Converts to this type from the input type.
Source§impl From<ParseFloatError> for ParseDecimalFloatingPointWithTitleError
impl From<ParseFloatError> for ParseDecimalFloatingPointWithTitleError
Source§fn from(value: ParseFloatError) -> Self
fn from(value: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseDecimalFloatingPointWithTitleError
impl PartialEq for ParseDecimalFloatingPointWithTitleError
Source§fn eq(&self, other: &ParseDecimalFloatingPointWithTitleError) -> bool
fn eq(&self, other: &ParseDecimalFloatingPointWithTitleError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParseDecimalFloatingPointWithTitleError
impl StructuralPartialEq for ParseDecimalFloatingPointWithTitleError
Auto Trait Implementations§
impl Freeze for ParseDecimalFloatingPointWithTitleError
impl RefUnwindSafe for ParseDecimalFloatingPointWithTitleError
impl Send for ParseDecimalFloatingPointWithTitleError
impl Sync for ParseDecimalFloatingPointWithTitleError
impl Unpin for ParseDecimalFloatingPointWithTitleError
impl UnwindSafe for ParseDecimalFloatingPointWithTitleError
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