Enum rtsp_types::headers::accept_ranges::RangeUnit
source · pub enum RangeUnit {
Npt,
Smpte,
Smpte30Drop,
Smpte25,
Clock,
Extension(String),
}
Expand description
Range units.
Variants§
Npt
Normal playback time.
Smpte
SMPTE 30 frames per second timecodes.
Smpte30Drop
SMPTE 30 frames per second timecodes with drop frames (29.97 fps).
Smpte25
SMPTE 25 frames per second timecodes.
Clock
Absolute time (UTC).
Extension(String)
Extension range unit.
Implementations§
Trait Implementations§
source§impl FromStr for RangeUnit
impl FromStr for RangeUnit
§type Err = HeaderParseError
type Err = HeaderParseError
The associated error which can be returned from parsing.
source§impl Ord for RangeUnit
impl Ord for RangeUnit
source§impl PartialEq for RangeUnit
impl PartialEq for RangeUnit
source§impl PartialOrd for RangeUnit
impl PartialOrd for RangeUnit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RangeUnit
impl StructuralPartialEq for RangeUnit
Auto Trait Implementations§
impl RefUnwindSafe for RangeUnit
impl Send for RangeUnit
impl Sync for RangeUnit
impl Unpin for RangeUnit
impl UnwindSafe for RangeUnit
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