Struct sn_messaging::location::Itinerary[][src]

pub struct Itinerary {
    pub src: SrcLocation,
    pub dst: DstLocation,
    pub aggregation: Aggregation,
}

The planned route of a message.

Fields

src: SrcLocation

Source

dst: DstLocation

Destionation

aggregation: Aggregation

Wether this will be aggregated, and where.

Implementations

impl Itinerary[src]

pub fn aggregate_at_dst(&self) -> bool[src]

Elders will send their signed message, where recipients aggregate.

pub fn aggregate_at_src(&self) -> bool[src]

Elders will aggregate a group sig before they each send one copy of it to dst.

pub fn src_name(&self) -> XorName[src]

Name of the source

pub fn dst_name(&self) -> Option<XorName>[src]

Name of the destionation

Trait Implementations

impl Clone for Itinerary[src]

impl Copy for Itinerary[src]

impl Debug for Itinerary[src]

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

impl Eq for Itinerary[src]

impl Hash for Itinerary[src]

impl PartialEq<Itinerary> for Itinerary[src]

impl Serialize for Itinerary[src]

impl StructuralEq for Itinerary[src]

impl StructuralPartialEq for Itinerary[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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 = 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<V, T> VZip<V> for T where
    V: MultiLane<T>,