pub enum ParseMapByterangeError {
RangeParseError(ParseDecimalIntegerRangeError),
MissingOffset,
}Expand description
An error when trying to parse the EXT-X-MAP:BYTERANGE attribute.
Variants§
RangeParseError(ParseDecimalIntegerRangeError)
An error parsing the decimal integer range.
MissingOffset
The offset component was missing but it is needed for MapByterange.
Trait Implementations§
Source§impl Clone for ParseMapByterangeError
impl Clone for ParseMapByterangeError
Source§fn clone(&self) -> ParseMapByterangeError
fn clone(&self) -> ParseMapByterangeError
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 Debug for ParseMapByterangeError
impl Debug for ParseMapByterangeError
Source§impl Display for ParseMapByterangeError
impl Display for ParseMapByterangeError
Source§impl Error for ParseMapByterangeError
impl Error for ParseMapByterangeError
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<ParseDecimalIntegerRangeError> for ParseMapByterangeError
impl From<ParseDecimalIntegerRangeError> for ParseMapByterangeError
Source§fn from(value: ParseDecimalIntegerRangeError) -> Self
fn from(value: ParseDecimalIntegerRangeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseMapByterangeError
impl PartialEq for ParseMapByterangeError
impl Copy for ParseMapByterangeError
impl StructuralPartialEq for ParseMapByterangeError
Auto Trait Implementations§
impl Freeze for ParseMapByterangeError
impl RefUnwindSafe for ParseMapByterangeError
impl Send for ParseMapByterangeError
impl Sync for ParseMapByterangeError
impl Unpin for ParseMapByterangeError
impl UnwindSafe for ParseMapByterangeError
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