Enum sctp_proto::ReliabilityType
source · pub enum ReliabilityType {
Reliable = 0,
Rexmit = 1,
Timed = 2,
}
Expand description
Reliability type for stream
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
impl Copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)