Struct srt_protocol::options::DataRate
source · pub struct DataRate(pub u64);
Tuple Fields§
§0: u64
Implementations§
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Div<PacketRate> for DataRate
impl Div<PacketRate> for DataRate
§type Output = PacketSize
type Output = PacketSize
The resulting type after applying the
/
operator.source§impl Ord for DataRate
impl Ord for DataRate
source§impl PartialEq<DataRate> for DataRate
impl PartialEq<DataRate> for DataRate
source§impl PartialOrd<DataRate> for DataRate
impl PartialOrd<DataRate> for DataRate
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 DataRate
impl Eq for DataRate
impl StructuralEq for DataRate
impl StructuralPartialEq for DataRate
Auto Trait Implementations§
impl RefUnwindSafe for DataRate
impl Send for DataRate
impl Sync for DataRate
impl Unpin for DataRate
impl UnwindSafe for DataRate
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.