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
SelfInterface(Director)
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
Forward(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]
fn eq(&self, __arg_0: &RoutingDecision) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RoutingDecision) -> bool
This method tests for !=
.