Enum rudp::NewSetUnsent [−][src]
pub enum NewSetUnsent { Panic, Clear, IntoSet, }
Enum that is checked by the Endpoint
to decide what to do in the event the
user creates a new SetSender
but the endpoint itself has written-but-unsent
data.
Panic
will panic if the event occurs.Clear
will discard any unsent bytes.IntoSet
will transfer the bytes into the first payload inside the set.
Variants
Panic
Clear
IntoSet
Trait Implementations
impl Copy for NewSetUnsent
[src]
impl Copy for NewSetUnsent
impl Clone for NewSetUnsent
[src]
impl Clone for NewSetUnsent
fn clone(&self) -> NewSetUnsent
[src]
fn clone(&self) -> NewSetUnsent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for NewSetUnsent
[src]
impl PartialEq for NewSetUnsent
fn eq(&self, other: &NewSetUnsent) -> bool
[src]
fn eq(&self, other: &NewSetUnsent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for NewSetUnsent
[src]
impl Eq for NewSetUnsent
impl Debug for NewSetUnsent
[src]
impl Debug for NewSetUnsent
Auto Trait Implementations
impl Send for NewSetUnsent
impl Send for NewSetUnsent
impl Sync for NewSetUnsent
impl Sync for NewSetUnsent