pub struct IpStackSend { /* private fields */ }
Expand description
Send IP packets to the protocol stack using IpStackSend
Implementations§
Source§impl IpStackSend
impl IpStackSend
Sourcepub async fn send_ip_packet(&self, buf: &[u8]) -> Result<()>
pub async fn send_ip_packet(&self, buf: &[u8]) -> Result<()>
Send the IP packet to this protocol stack.
Trait Implementations§
Source§impl Clone for IpStackSend
impl Clone for IpStackSend
Source§fn clone(&self) -> IpStackSend
fn clone(&self) -> IpStackSend
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 moreAuto Trait Implementations§
impl Freeze for IpStackSend
impl !RefUnwindSafe for IpStackSend
impl Send for IpStackSend
impl Sync for IpStackSend
impl Unpin for IpStackSend
impl !UnwindSafe for IpStackSend
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