Enum rtsp_types::headers::range::NptRange
source · pub enum NptRange {
Empty,
From(NptTime),
FromTo(NptTime, NptTime),
To(NptTime),
}
Expand description
Normal Play Time Range (RFC 7826 section 4.4.2).
Variants§
Empty
Empty range.
From(NptTime)
Range starting at a specific time.
FromTo(NptTime, NptTime)
Range from a specific time to another.
To(NptTime)
Range ending at a specific time.
Trait Implementations§
source§impl Ord for NptRange
impl Ord for NptRange
source§impl PartialOrd for NptRange
impl PartialOrd for NptRange
impl Copy for NptRange
impl Eq for NptRange
impl StructuralPartialEq for NptRange
Auto Trait Implementations§
impl Freeze for NptRange
impl RefUnwindSafe for NptRange
impl Send for NptRange
impl Sync for NptRange
impl Unpin for NptRange
impl UnwindSafe for NptRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)