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.
None
. Message may arrive 0+ times and may arrive any any time.Order
. Message may arrive 0-1 times but will respect ordering wrt. otherOrder
andDelivery
messages.Delivery
. Message will arrive 1 time and will respect the ordering wrt. otherOrder
andDelivery
messages.
Variants
None
Order
Delivery
Trait Implementations
impl Copy for Guarantee
[src]
impl Copy for Guarantee
impl Clone for Guarantee
[src]
impl Clone for Guarantee
fn clone(&self) -> Guarantee
[src]
fn clone(&self) -> Guarantee
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 Eq for Guarantee
[src]
impl Eq for Guarantee
impl PartialEq for Guarantee
[src]
impl PartialEq for Guarantee
fn eq(&self, other: &Guarantee) -> bool
[src]
fn eq(&self, other: &Guarantee) -> 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 Debug for Guarantee
[src]
impl Debug for Guarantee