pub struct NackResponderBuilder<P> { /* private fields */ }Expand description
Implementations§
Source§impl<P> NackResponderBuilder<P>
impl<P> NackResponderBuilder<P>
Sourcepub fn with_size(self, size: u16) -> Self
pub fn with_size(self, size: u16) -> Self
Set the size of the send buffer.
Size must be a power of 2 between 1 and 32768 (inclusive). Larger buffers can retransmit older packets but use more memory.
Sourcepub fn build(self) -> impl FnOnce(P) -> NackResponderInterceptor<P>
pub fn build(self) -> impl FnOnce(P) -> NackResponderInterceptor<P>
Build the interceptor factory function.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for NackResponderBuilder<P>
impl<P> RefUnwindSafe for NackResponderBuilder<P>where
P: RefUnwindSafe,
impl<P> Send for NackResponderBuilder<P>where
P: Send,
impl<P> Sync for NackResponderBuilder<P>where
P: Sync,
impl<P> Unpin for NackResponderBuilder<P>where
P: Unpin,
impl<P> UnwindSafe for NackResponderBuilder<P>where
P: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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