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]
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<'de> Deserialize<'de> for Itinerary
[src]
impl<'de> Deserialize<'de> for Itinerary
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralEq for Itinerary
[src]
impl StructuralEq for Itinerary
[src]impl StructuralPartialEq for Itinerary
[src]
impl StructuralPartialEq for Itinerary
[src]Auto Trait Implementations
impl RefUnwindSafe for Itinerary
impl RefUnwindSafe for Itinerary
impl UnwindSafe for Itinerary
impl UnwindSafe for Itinerary
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,