pub struct Mldv1MessageBuilder<M: Mldv1MessageType> { /* private fields */ }
Expand description
The builder for MLDv1 Messages.
Implementations§
Source§impl<M: Mldv1MessageType<MaxRespDelay = ()>> Mldv1MessageBuilder<M>
impl<M: Mldv1MessageType<MaxRespDelay = ()>> Mldv1MessageBuilder<M>
Source§impl<M: Mldv1MessageType> Mldv1MessageBuilder<M>
impl<M: Mldv1MessageType> Mldv1MessageBuilder<M>
Sourcepub fn new_with_max_resp_delay(
group_addr: M::GroupAddr,
max_resp_delay: M::MaxRespDelay,
) -> Self
pub fn new_with_max_resp_delay( group_addr: M::GroupAddr, max_resp_delay: M::MaxRespDelay, ) -> Self
Create an Mldv1MessageBuilder
with a max_resp_delay
for Query messages.
Trait Implementations§
Source§impl<M: Debug + Mldv1MessageType> Debug for Mldv1MessageBuilder<M>
impl<M: Debug + Mldv1MessageType> Debug for Mldv1MessageBuilder<M>
Source§impl<M: Mldv1MessageType> InnerPacketBuilder for Mldv1MessageBuilder<M>
impl<M: Mldv1MessageType> InnerPacketBuilder for Mldv1MessageBuilder<M>
§fn into_serializer(self) -> InnerSerializer<Self, EmptyBuf>where
Self: Sized,
fn into_serializer(self) -> InnerSerializer<Self, EmptyBuf>where
Self: Sized,
§fn into_serializer_with<B>(self, buffer: B) -> InnerSerializer<Self, B>where
B: ShrinkBuffer,
Self: Sized,
fn into_serializer_with<B>(self, buffer: B) -> InnerSerializer<Self, B>where
B: ShrinkBuffer,
Self: Sized,
Converts this
InnerPacketBuilder
into a [Serializer
] with a buffer
that can be used for serialization. Read moreAuto Trait Implementations§
impl<M> Freeze for Mldv1MessageBuilder<M>
impl<M> RefUnwindSafe for Mldv1MessageBuilder<M>where
<M as Mldv1MessageType>::MaxRespDelay: RefUnwindSafe,
<M as Mldv1MessageType>::GroupAddr: RefUnwindSafe,
impl<M> Send for Mldv1MessageBuilder<M>
impl<M> Sync for Mldv1MessageBuilder<M>
impl<M> Unpin for Mldv1MessageBuilder<M>
impl<M> UnwindSafe for Mldv1MessageBuilder<M>where
<M as Mldv1MessageType>::MaxRespDelay: UnwindSafe,
<M as Mldv1MessageType>::GroupAddr: UnwindSafe,
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