Enum rudp::Guarantee[][src]

pub enum Guarantee {
    None,
    Order,
    Delivery,
}

Enum that is passed into every send call on an Endpoint that creates and ships a payload. The enum variant determines what bookkeeping will be performed to deliver the expected guarantees.

  1. None. Message may arrive 0+ times and may arrive any any time.
  2. Order. Message may arrive 0-1 times but will respect ordering wrt. other Order and Delivery messages.
  3. Delivery. Message will arrive 1 time and will respect the ordering wrt. other Order and Delivery messages.

Variants

Trait Implementations

impl Copy for Guarantee
[src]

impl Clone for Guarantee
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Guarantee
[src]

impl PartialEq for Guarantee
[src]

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

This method tests for !=.

impl Debug for Guarantee
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Guarantee

impl Sync for Guarantee