[][src]Struct datachannel::Reliability

pub struct Reliability {
    pub unordered: bool,
    pub unreliable: bool,
    pub max_packet_life_time: u32,
    pub max_retransmits: u32,
}

Fields

unordered: boolunreliable: boolmax_packet_life_time: u32max_retransmits: u32

Implementations

impl Reliability[src]

pub fn unordered(self) -> Self[src]

pub fn unreliable(self) -> Self[src]

pub fn max_packet_life_time(self, max_packet_life_time: u32) -> Self[src]

pub fn max_retransmits(self, max_retransmits: u32) -> Self[src]

Trait Implementations

impl Debug for Reliability[src]

impl Default for Reliability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.