Struct internet2::transport::RoutedFrame
source · pub struct RoutedFrame {
pub hop: Vec<u8>,
pub src: Vec<u8>,
pub dst: Vec<u8>,
pub msg: Vec<u8>,
}
Fields§
§hop: Vec<u8>
Previous hop where we received message from during the routing
src: Vec<u8>
Originator of the message
dst: Vec<u8>
Destination of the message
msg: Vec<u8>
Message itself
Trait Implementations§
source§impl Clone for RoutedFrame
impl Clone for RoutedFrame
source§fn clone(&self) -> RoutedFrame
fn clone(&self) -> RoutedFrame
Returns a copy 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 RoutedFrame
impl Debug for RoutedFrame
source§impl Hash for RoutedFrame
impl Hash for RoutedFrame
source§impl PartialEq<RoutedFrame> for RoutedFrame
impl PartialEq<RoutedFrame> for RoutedFrame
source§fn eq(&self, other: &RoutedFrame) -> bool
fn eq(&self, other: &RoutedFrame) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.