Enum webrtc_sctp::stream::ReliabilityType
source · #[repr(C)]pub enum ReliabilityType {
Reliable = 0,
Rexmit = 1,
Timed = 2,
}
Variants§
Reliable = 0
ReliabilityTypeReliable is used for reliable transmission
Rexmit = 1
ReliabilityTypeRexmit is used for partial reliability by retransmission count
Timed = 2
ReliabilityTypeTimed is used for partial reliability by retransmission duration
Trait Implementations§
source§impl Clone for ReliabilityType
impl Clone for ReliabilityType
source§fn clone(&self) -> ReliabilityType
fn clone(&self) -> ReliabilityType
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 ReliabilityType
impl Debug for ReliabilityType
source§impl Default for ReliabilityType
impl Default for ReliabilityType
source§fn default() -> ReliabilityType
fn default() -> ReliabilityType
Returns the “default value” for a type. Read more
source§impl Display for ReliabilityType
impl Display for ReliabilityType
source§impl From<u8> for ReliabilityType
impl From<u8> for ReliabilityType
source§fn from(v: u8) -> ReliabilityType
fn from(v: u8) -> ReliabilityType
Converts to this type from the input type.
source§impl PartialEq for ReliabilityType
impl PartialEq for ReliabilityType
source§fn eq(&self, other: &ReliabilityType) -> bool
fn eq(&self, other: &ReliabilityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReliabilityType
impl Eq for ReliabilityType
impl StructuralPartialEq for ReliabilityType
Auto Trait Implementations§
impl Freeze for ReliabilityType
impl RefUnwindSafe for ReliabilityType
impl Send for ReliabilityType
impl Sync for ReliabilityType
impl Unpin for ReliabilityType
impl UnwindSafe for ReliabilityType
Blanket Implementations§
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