Struct webrtc_data::data_channel::ConfigBuilder
source · pub struct ConfigBuilder { /* private fields */ }
Expand description
Builder for Config
.
Implementations§
source§impl 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§
source§impl Clone for ConfigBuilder
impl Clone for ConfigBuilder
source§fn clone(&self) -> ConfigBuilder
fn clone(&self) -> ConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more