Enum rudp::Guarantee[][src]

pub enum Guarantee {

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.


Trait Implementations

impl Copy for Guarantee

impl Clone for Guarantee

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Guarantee

impl PartialEq for Guarantee

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Guarantee

impl Sync for Guarantee