pub enum ByteRangeOrBitrate {
ByteRange(ByteRange),
Bitrate(u64),
}Variants§
ByteRange(ByteRange)
This MediaSegment is a sub-range of the resource
identified by its URI.
Bitrate(u64)
The approximate segment bit rate of this MediaSegment
in kbps.
Trait Implementations§
Source§impl Clone for ByteRangeOrBitrate
impl Clone for ByteRangeOrBitrate
Source§fn clone(&self) -> ByteRangeOrBitrate
fn clone(&self) -> ByteRangeOrBitrate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ByteRangeOrBitrate
impl Debug for ByteRangeOrBitrate
impl Eq for ByteRangeOrBitrate
Source§impl PartialEq for ByteRangeOrBitrate
impl PartialEq for ByteRangeOrBitrate
Source§fn eq(&self, other: &ByteRangeOrBitrate) -> bool
fn eq(&self, other: &ByteRangeOrBitrate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ByteRangeOrBitrate
Auto Trait Implementations§
impl Freeze for ByteRangeOrBitrate
impl RefUnwindSafe for ByteRangeOrBitrate
impl Send for ByteRangeOrBitrate
impl Sync for ByteRangeOrBitrate
impl Unpin for ByteRangeOrBitrate
impl UnsafeUnpin for ByteRangeOrBitrate
impl UnwindSafe for ByteRangeOrBitrate
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