pub struct QRV(/* private fields */);
Expand description
QRV (Querier’s Robustness Variable) used in IGMPv3/MLDv2 messages, defined in RFC 3376 section 4.1.6 and RFC 3810 section 5.1.8.
Implementations§
Source§impl QRV
impl QRV
Sourcepub fn new(robustness_value: u8) -> Self
pub fn new(robustness_value: u8) -> Self
Returns the Querier’s Robustness Variable.
From RFC 3376 section 4.1.6: If the querier’s [Robustness Variable] exceeds 7, the maximum value of the QRV field, the QRV is set to zero.
From RFC 3810 section 5.1.8: If the Querier’s [Robustness Variable] exceeds 7 (the maximum value of the QRV field), the QRV field is set to zero.
Trait Implementations§
impl Copy for QRV
impl Eq for QRV
impl StructuralPartialEq for QRV
Auto Trait Implementations§
impl Freeze for QRV
impl RefUnwindSafe for QRV
impl Send for QRV
impl Sync for QRV
impl Unpin for QRV
impl UnwindSafe for QRV
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)