Enum exar::RoutingStrategy [] [src]

pub enum RoutingStrategy {
    Random,
    RoundRobin(usize),
}

A list specifying categories of routing strategy.

Variants

The next element is picked at random.

The next element is picked using the round-robin algorithm.

Trait Implementations

impl Clone for RoutingStrategy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RoutingStrategy
[src]

Formats the value using the given formatter.

impl PartialEq for RoutingStrategy
[src]

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

This method tests for !=.

impl Eq for RoutingStrategy
[src]

impl Default for RoutingStrategy
[src]

Returns the "default value" for a type. Read more