pub struct SocketMemory {
pub tx: Memory,
pub rx: Memory,
}
Fields§
§tx: Memory
§rx: Memory
Implementations§
Source§impl SocketMemory
impl SocketMemory
pub fn default_tcp() -> Self
pub fn default_udp() -> Self
pub fn default_icmp() -> Self
pub fn default_raw() -> Self
Trait Implementations§
Source§impl Clone for SocketMemory
impl Clone for SocketMemory
Source§fn clone(&self) -> SocketMemory
fn clone(&self) -> SocketMemory
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 SocketMemory
impl Debug for SocketMemory
impl Copy for SocketMemory
Auto Trait Implementations§
impl Freeze for SocketMemory
impl RefUnwindSafe for SocketMemory
impl Send for SocketMemory
impl Sync for SocketMemory
impl Unpin for SocketMemory
impl UnwindSafe for SocketMemory
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