Enum dtab::nametree::NameTree [] [src]

pub enum NameTree<T> {
    Leaf(T),
    Union(Weighted<T>, Weighted<T>),
    Alt(Box<NameTree<T>>, Box<NameTree<T>>),
    Neg,
    Empty,
    Fail,
}

Name trees represent a composite name whose interpretation is subject to Finagle's interpretation rules

Variants

Methods

impl<T> NameTree<T>
[src]

Trait Implementations

impl<T: Clone> Clone for NameTree<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for NameTree<T>
[src]

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

This method tests for !=.

impl<T: Debug> Debug for NameTree<T>
[src]

Formats the value using the given formatter.

impl<'a> From<&'a str> for NameTree<String>
[src]

Performs the conversion.

impl<T> Display for NameTree<T> where
    T: Display
[src]

Formats the value using the given formatter. Read more

impl<T, R> BitAnd<R> for NameTree<T> where
    R: Into<NameTree<T>>, 
[src]

The resulting type after applying the & operator

The method for the & operator

impl<T, R> BitOr<R> for NameTree<T> where
    R: Into<NameTree<T>>, 
[src]

The resulting type after applying the | operator

The method for the | operator

impl<R> Shr<R> for NameTree<String> where
    R: Into<NameTree<String>>, 
[src]

The resulting type after applying the >> operator

The method for the >> operator