pub enum TransportRoute {
Direct,
P2p,
Relay,
}Expand description
How the packet was ultimately routed.
Variants§
Trait Implementations§
Source§impl Clone for TransportRoute
impl Clone for TransportRoute
Source§fn clone(&self) -> TransportRoute
fn clone(&self) -> TransportRoute
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 TransportRoute
impl Debug for TransportRoute
Source§impl PartialEq for TransportRoute
impl PartialEq for TransportRoute
impl Copy for TransportRoute
impl Eq for TransportRoute
impl StructuralPartialEq for TransportRoute
Auto Trait Implementations§
impl Freeze for TransportRoute
impl RefUnwindSafe for TransportRoute
impl Send for TransportRoute
impl Sync for TransportRoute
impl Unpin for TransportRoute
impl UnsafeUnpin for TransportRoute
impl UnwindSafe for TransportRoute
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