pub struct ByteCount(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl Div<PacketSize> for ByteCount
impl Div<PacketSize> for ByteCount
Source§type Output = PacketCount
type Output = PacketCount
The resulting type after applying the
/
operator.Source§impl Ord for ByteCount
impl Ord for ByteCount
Source§impl PartialOrd for ByteCount
impl PartialOrd for ByteCount
impl Copy for ByteCount
impl Eq for ByteCount
impl StructuralPartialEq for ByteCount
Auto Trait Implementations§
impl Freeze for ByteCount
impl RefUnwindSafe for ByteCount
impl Send for ByteCount
impl Sync for ByteCount
impl Unpin for ByteCount
impl UnwindSafe for ByteCount
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.