Enum rudp::NewSetUnsent[][src]

pub enum NewSetUnsent {

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.


Trait Implementations

impl Copy for NewSetUnsent

impl Clone for NewSetUnsent

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for NewSetUnsent

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

impl Debug for NewSetUnsent

Formats the value using the given formatter. Read more

Auto Trait Implementations