pub struct MessageDecoderBuilder(/* private fields */);
Expand description
Builder class used to create a stun MessageDecoder
Implementations§
source§impl MessageDecoderBuilder
impl MessageDecoderBuilder
sourcepub fn with_context(self, ctx: DecoderContext) -> Self
pub fn with_context(self, ctx: DecoderContext) -> Self
Adds a context to the builder
sourcepub fn build(self) -> MessageDecoder
pub fn build(self) -> MessageDecoder
Builds a MessageDecoder
Trait Implementations§
source§impl Debug for MessageDecoderBuilder
impl Debug for MessageDecoderBuilder
source§impl Default for MessageDecoderBuilder
impl Default for MessageDecoderBuilder
source§fn default() -> MessageDecoderBuilder
fn default() -> MessageDecoderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDecoderBuilder
impl RefUnwindSafe for MessageDecoderBuilder
impl !Send for MessageDecoderBuilder
impl !Sync for MessageDecoderBuilder
impl Unpin for MessageDecoderBuilder
impl UnwindSafe for MessageDecoderBuilder
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