pub struct TwccReceiverBuilder<P> { /* private fields */ }Expand description
Implementations§
Source§impl<P> TwccReceiverBuilder<P>
impl<P> TwccReceiverBuilder<P>
Sourcepub fn with_interval(self, interval: Duration) -> Self
pub fn with_interval(self, interval: Duration) -> Self
Set the interval between feedback reports.
Sourcepub fn build(self) -> impl FnOnce(P) -> TwccReceiverInterceptor<P>
pub fn build(self) -> impl FnOnce(P) -> TwccReceiverInterceptor<P>
Build the interceptor factory function.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for TwccReceiverBuilder<P>
impl<P> RefUnwindSafe for TwccReceiverBuilder<P>where
P: RefUnwindSafe,
impl<P> Send for TwccReceiverBuilder<P>where
P: Send,
impl<P> Sync for TwccReceiverBuilder<P>where
P: Sync,
impl<P> Unpin for TwccReceiverBuilder<P>where
P: Unpin,
impl<P> UnwindSafe for TwccReceiverBuilder<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