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