Struct webrtc_data::data_channel::ConfigBuilder
source · [−]pub struct ConfigBuilder { /* private fields */ }
Expand description
Builder for Config
.
Implementations
sourceimpl ConfigBuilder
impl ConfigBuilder
pub fn channel_type(&mut self, value: ChannelType) -> &mut Self
pub fn negotiated(&mut self, value: bool) -> &mut Self
pub fn priority(&mut self, value: u16) -> &mut Self
pub fn reliability_parameter(&mut self, value: u32) -> &mut Self
pub fn label(&mut self, value: String) -> &mut Self
pub fn protocol(&mut self, value: String) -> &mut Self
Trait Implementations
sourceimpl Clone for ConfigBuilder
impl Clone for ConfigBuilder
sourcefn clone(&self) -> ConfigBuilder
fn clone(&self) -> ConfigBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more