pub struct Mldv2QRV(/* private fields */);
Expand description
QRV (Querier’s Robustness Variable) used in Queryv2 messages, defined in [RFC 3810 section 5.1.8]. [RFC 3810 section 5.1.8]: https://datatracker.ietf.org/doc/html/rfc3810#section-5.1.8
Implementations§
Source§impl Mldv2QRV
impl Mldv2QRV
Sourcepub fn new(robustness_value: u8) -> Self
pub fn new(robustness_value: u8) -> Self
Returns the Querier’s Robustness Variable 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. [RFC 3810 section 5.1.8]: https://datatracker.ietf.org/doc/html/rfc3810#section-5.1.8
Trait Implementations§
impl Copy for Mldv2QRV
impl Eq for Mldv2QRV
impl StructuralPartialEq for Mldv2QRV
Auto Trait Implementations§
impl Freeze for Mldv2QRV
impl RefUnwindSafe for Mldv2QRV
impl Send for Mldv2QRV
impl Sync for Mldv2QRV
impl Unpin for Mldv2QRV
impl UnwindSafe for Mldv2QRV
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
)