Struct seec_channel::util::CountPair
source · pub struct CountPair {
pub sent: usize,
pub rcvd: usize,
}
Fields§
§sent: usize
§rcvd: usize
Trait Implementations§
source§impl AddAssign for CountPair
impl AddAssign for CountPair
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl<'de> Deserialize<'de> for CountPair
impl<'de> Deserialize<'de> for CountPair
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl DivAssign<usize> for CountPair
impl DivAssign<usize> for CountPair
source§fn div_assign(&mut self, rhs: usize)
fn div_assign(&mut self, rhs: usize)
Performs the
/=
operation. Read moreimpl Copy for CountPair
Auto Trait Implementations§
impl Freeze for CountPair
impl RefUnwindSafe for CountPair
impl Send for CountPair
impl Sync for CountPair
impl Unpin for CountPair
impl UnwindSafe for CountPair
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