pub struct EncapsulatedRoutingInformation { /* private fields */ }Implementations§
source§impl EncapsulatedRoutingInformation
impl EncapsulatedRoutingInformation
pub fn encapsulate( enc_routing_information: EncryptedRoutingInformation, integrity_mac: HeaderIntegrityMac ) -> Self
pub fn new( route: &[Node], destination: &Destination, delays: &[Delay], routing_keys: &[RoutingKeys], filler: Filler ) -> Self
pub fn to_bytes(&self) -> Vec<u8>
pub fn from_bytes(bytes: &[u8]) -> Result<Self>
Trait Implementations§
source§impl Clone for EncapsulatedRoutingInformation
impl Clone for EncapsulatedRoutingInformation
source§fn clone(&self) -> EncapsulatedRoutingInformation
fn clone(&self) -> EncapsulatedRoutingInformation
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 more