Enum cobalt::MessageKind [] [src]

pub enum MessageKind {
    Instant,
    Reliable,
    Ordered,
}

Enum for specification of a message handling algorithm.

Variants

Message that is going be send exactly once and ignored in case its containing packet is lost. No guarantees are made as for the order in which a message of this kind is going to be received by a remote queue.

Message that is going to be re-send in case its containing packet is lost. No guarantees are made as for the order in which a message of this kind is going to be received by a remote queue.

Message that is going to be re-send in case its containing packet is lost and is also guaranteed to arrive in-order, meaning that if you send two Ordered messages and the second arrives first in the remote queue , the remote queue will buffer the second message until the first one arrives and then make both of them available to the application at once.

Trait Implementations

impl Copy for MessageKind
[src]

impl Clone for MessageKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MessageKind
[src]

Formats the value using the given formatter.

impl Eq for MessageKind
[src]

impl PartialEq for MessageKind
[src]

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

This method tests for !=.