pub struct DataChannelParameters {
pub label: String,
pub protocol: String,
pub ordered: bool,
pub max_packet_life_time: u16,
pub max_retransmits: u16,
pub negotiated: Option<u16>,
}
Expand description
DataChannelParameters describes the configuration of the DataChannel.
Fields§
§label: String
§protocol: String
§ordered: bool
§max_packet_life_time: u16
§max_retransmits: u16
§negotiated: Option<u16>
Trait Implementations§
source§impl Clone for DataChannelParameters
impl Clone for DataChannelParameters
source§fn clone(&self) -> DataChannelParameters
fn clone(&self) -> DataChannelParameters
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 moresource§impl Debug for DataChannelParameters
impl Debug for DataChannelParameters
source§impl Default for DataChannelParameters
impl Default for DataChannelParameters
source§fn default() -> DataChannelParameters
fn default() -> DataChannelParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataChannelParameters
impl<'de> Deserialize<'de> for DataChannelParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DataChannelParameters
impl RefUnwindSafe for DataChannelParameters
impl Send for DataChannelParameters
impl Sync for DataChannelParameters
impl Unpin for DataChannelParameters
impl UnwindSafe for DataChannelParameters
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> 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<'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