pub struct RoutingInfo {
pub direct: bool,
pub hop_count: u8,
pub path: Vec<String>,
pub qos: QualityOfService,
}
Expand description
Message routing information
Fieldsยง
ยงdirect: bool
Direct connection or multi-hop
hop_count: u8
Hop count for multi-hop messages
path: Vec<String>
Path taken through network
qos: QualityOfService
Quality of service requirements
Trait Implementationsยง
Sourceยงimpl Clone for RoutingInfo
impl Clone for RoutingInfo
Sourceยงfn clone(&self) -> RoutingInfo
fn clone(&self) -> RoutingInfo
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for RoutingInfo
impl Debug for RoutingInfo
Sourceยงimpl<'de> Deserialize<'de> for RoutingInfo
impl<'de> Deserialize<'de> for RoutingInfo
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for RoutingInfo
impl RefUnwindSafe for RoutingInfo
impl Send for RoutingInfo
impl Sync for RoutingInfo
impl Unpin for RoutingInfo
impl UnwindSafe for RoutingInfo
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more