Enum rtsp_types::headers::range::UtcRange
source · pub enum UtcRange {
Empty,
From(UtcTime),
FromTo(UtcTime, UtcTime),
To(UtcTime),
}Expand description
Absolute Time (UTC) Time Range (RFC 7826 section 4.4.3).
Variants§
Empty
Empty range.
From(UtcTime)
Range starting at a specific time.
FromTo(UtcTime, UtcTime)
Range from a specific time to another.
To(UtcTime)
Range ending at a specific time.
Trait Implementations§
source§impl FromStr for UtcRange
impl FromStr for UtcRange
§type Err = HeaderParseError
type Err = HeaderParseError
The associated error which can be returned from parsing.
source§impl Ord for UtcRange
impl Ord for UtcRange
source§impl PartialEq for UtcRange
impl PartialEq for UtcRange
source§impl PartialOrd for UtcRange
impl PartialOrd for UtcRange
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 Copy for UtcRange
impl Eq for UtcRange
impl StructuralPartialEq for UtcRange
Auto Trait Implementations§
impl Freeze for UtcRange
impl RefUnwindSafe for UtcRange
impl Send for UtcRange
impl Sync for UtcRange
impl Unpin for UtcRange
impl UnwindSafe for UtcRange
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