pub struct SenderWord {
pub instance_id: u16,
pub grtt: u8,
pub backoff: u8,
pub gsize: u8,
}Expand description
The shared sender word carried by NORM_DATA / NORM_INFO / NORM_CMD
(RFC 5740 §4.2): instance_id(16) | grtt(8) | backoff(4) | gsize(4).
Fields§
§instance_id: u16Sender’s current participation instance.
grtt: u8Quantized group RTT estimate.
backoff: u8NACK backoff factor (4 bits).
gsize: u8Quantized group-size estimate (4 bits).
Implementations§
Trait Implementations§
Source§impl Clone for SenderWord
impl Clone for SenderWord
Source§fn clone(&self) -> SenderWord
fn clone(&self) -> SenderWord
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 moreimpl Copy for SenderWord
Source§impl Debug for SenderWord
impl Debug for SenderWord
impl Eq for SenderWord
Source§impl PartialEq for SenderWord
impl PartialEq for SenderWord
Source§impl Serialize for SenderWord
Available on crate feature serde only.
impl Serialize for SenderWord
Available on crate feature
serde only.impl StructuralPartialEq for SenderWord
Auto Trait Implementations§
impl Freeze for SenderWord
impl RefUnwindSafe for SenderWord
impl Send for SenderWord
impl Sync for SenderWord
impl Unpin for SenderWord
impl UnsafeUnpin for SenderWord
impl UnwindSafe for SenderWord
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