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.

  1. Panic will panic if the event occurs.
  2. Clear will discard any unsent bytes.
  3. IntoSet will transfer the bytes into the first payload inside the set.

Variants

Trait Implementations

impl Copy for NewSetUnsent
[src]

impl Clone for NewSetUnsent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for NewSetUnsent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NewSetUnsent
[src]

impl Debug for NewSetUnsent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations