pub struct DataChannelConfig {
pub channel_type: ChannelType,
pub negotiated: bool,
pub priority: u16,
pub reliability_parameter: u32,
pub label: String,
pub protocol: String,
}Expand description
DataChannelConfig is used to configure the data channel.
Fields§
§channel_type: ChannelType§negotiated: bool§priority: u16§reliability_parameter: u32§label: String§protocol: StringTrait Implementations§
Source§impl Clone for DataChannelConfig
impl Clone for DataChannelConfig
Source§fn clone(&self) -> DataChannelConfig
fn clone(&self) -> DataChannelConfig
Returns a duplicate 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 moreSource§impl Debug for DataChannelConfig
impl Debug for DataChannelConfig
Source§impl Default for DataChannelConfig
impl Default for DataChannelConfig
Source§fn default() -> DataChannelConfig
fn default() -> DataChannelConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for DataChannelConfig
impl PartialEq for DataChannelConfig
impl Eq for DataChannelConfig
impl StructuralPartialEq for DataChannelConfig
Auto Trait Implementations§
impl Freeze for DataChannelConfig
impl RefUnwindSafe for DataChannelConfig
impl Send for DataChannelConfig
impl Sync for DataChannelConfig
impl Unpin for DataChannelConfig
impl UnwindSafe for DataChannelConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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