pub struct TstnResponderBuilder { /* private fields */ }Expand description
Builder for TstnResponderInterceptor.
Implementations§
Source§impl TstnResponderBuilder
impl TstnResponderBuilder
Sourcepub fn with_fixed_index(self, index: u8) -> Self
pub fn with_fixed_index(self, index: u8) -> Self
The index an encoder that keeps one trade-off whatever is asked uses: every notification carries it (RFC 5104 4.3.3.2: “the Temporal-Spatial Trade-off index that will be used as a result of the request. This is not necessarily the same index as requested”).
Sourcepub fn with_unnegotiated(self, unnegotiated: bool) -> Self
pub fn with_unnegotiated(self, unnegotiated: bool) -> Self
Answer requests to streams that did not negotiate ccm tstr too (RFC 5104 7.2 has
CCM used only where both sides indicated it; this is the lenient setting).
Sourcepub fn build(self) -> TstnResponderInterceptor
pub fn build(self) -> TstnResponderInterceptor
Build the interceptor.
Trait Implementations§
Source§impl Clone for TstnResponderBuilder
impl Clone for TstnResponderBuilder
Source§impl Debug for TstnResponderBuilder
impl Debug for TstnResponderBuilder
Auto Trait Implementations§
impl Forget for TstnResponderBuilder
impl Freeze for TstnResponderBuilder
impl Move for TstnResponderBuilder
impl RefUnwindSafe for TstnResponderBuilder
impl Send for TstnResponderBuilder
impl Sync for TstnResponderBuilder
impl Unpin for TstnResponderBuilder
impl UnsafeUnpin for TstnResponderBuilder
impl UnwindSafe for TstnResponderBuilder
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