pub struct Socket5Tuple {
pub transport: TransportType,
pub from: SocketAddr,
pub to: SocketAddr,
}Expand description
A socket with the specified network 5-tuple.
Fields§
§transport: TransportTypeThe transport for the socket.
from: SocketAddrThe local address for the socket.
to: SocketAddrThe remote address for the socket.
Trait Implementations§
Source§impl Clone for Socket5Tuple
impl Clone for Socket5Tuple
Source§fn clone(&self) -> Socket5Tuple
fn clone(&self) -> Socket5Tuple
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 Socket5Tuple
impl Debug for Socket5Tuple
Source§impl PartialEq for Socket5Tuple
impl PartialEq for Socket5Tuple
impl Copy for Socket5Tuple
impl Eq for Socket5Tuple
impl StructuralPartialEq for Socket5Tuple
Auto Trait Implementations§
impl Freeze for Socket5Tuple
impl RefUnwindSafe for Socket5Tuple
impl Send for Socket5Tuple
impl Sync for Socket5Tuple
impl Unpin for Socket5Tuple
impl UnsafeUnpin for Socket5Tuple
impl UnwindSafe for Socket5Tuple
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