[][src]Enum interledger_ccp::RoutingRelation

#[repr(u8)]
pub enum RoutingRelation {
    NonRoutingAccount,
    Parent,
    Peer,
    Child,
}

Data structure used to describe the routing relation of an account with its peers.

Variants

NonRoutingAccount

An account from which we do not receive routes from, neither broadcast routes to

Parent

An account from which we receive routes from, but do not broadcast routes to

Peer

An account from which we receive routes from and broadcast routes to

Child

An account from which we do not receive routes from, but broadcast routes to

Trait Implementations

impl AsRef<str> for RoutingRelation[src]

impl Clone for RoutingRelation[src]

impl Copy for RoutingRelation[src]

impl PartialEq<RoutingRelation> for RoutingRelation[src]

impl PartialOrd<RoutingRelation> for RoutingRelation[src]

impl Display for RoutingRelation[src]

impl Debug for RoutingRelation[src]

impl FromStr for RoutingRelation[src]

type Err = ()

The associated error which can be returned from parsing.

impl StructuralPartialEq for RoutingRelation[src]

impl<'de> Deserialize<'de> for RoutingRelation[src]

impl Serialize for RoutingRelation[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]