Struct webrtc_data::data_channel::Config
source · [−]pub struct Config {
pub channel_type: ChannelType,
pub negotiated: bool,
pub priority: u16,
pub reliability_parameter: u32,
pub label: String,
pub protocol: String,
}
Expand description
Config is used to configure the data channel.
Fields
channel_type: ChannelType
negotiated: bool
priority: u16
reliability_parameter: u32
label: String
protocol: String
Trait Implementations
impl Eq for Config
impl StructuralEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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