Enum fcp_switching::operation::RoutingDecision [] [src]

pub enum RoutingDecision {
    SelfInterface(Director),
    Forward(Director),
}

Representation of where the packet should be sent, according to the label.

Variants

The packet should be routing to the self interface. The argument will usually be 1, but may be any number whose binary representation has 0001 as least significant bits, as per https://github.com/cjdelisle/cjdns/blob/cjdns-v17.4/doc/Whitepaper.md#self-interface-director

The packet should be forwarded to the interface identified by the argument

Trait Implementations

impl Eq for RoutingDecision
[src]

impl PartialEq for RoutingDecision
[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 RoutingDecision
[src]

Formats the value using the given formatter.