[][src]Struct lightning::ln::router::Route

pub struct Route {
    pub hops: Vec<RouteHop>,
}

A route from us through the network to a destination

Fields

hops: Vec<RouteHop>

The list of hops, NOT INCLUDING our own, where the last hop is the destination. Thus, this must always be at least length one. By protocol rules, this may not currently exceed 20 in length.

Trait Implementations

impl Clone for Route[src]

impl PartialEq<Route> for Route[src]

impl<R: Read> Readable<R> for Route[src]

impl StructuralPartialEq for Route[src]

impl Writeable for Route[src]

Auto Trait Implementations

impl RefUnwindSafe for Route

impl Send for Route

impl Sync for Route

impl Unpin for Route

impl UnwindSafe for Route

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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.