[−][src]Trait ethox::nic::Send
A raw network packet sender.
Required methods
Loading content...Provided methods
fn sendv<'a>(&mut self, packets: impl IntoIterator<Item = Packet<'a, H, P>>) where
P: 'a,
H: 'a,
P: 'a,
H: 'a,
Vectored sending.
The default implementation will simply send all packets in sequence.
Implementors
impl<'_, '_, H, P, T> Send<H, P> for Sender<'_, '_, T> where
H: Handle,
P: Payload + PayloadMut,
T: Send<P>,
[src]
H: Handle,
P: Payload + PayloadMut,
T: Send<P>,
impl<'_, F, H: Handle + ?Sized, P: Payload + ?Sized> Send<H, P> for &'_ mut F where
F: Send<H, P>,
[src]
F: Send<H, P>,
fn send(&mut self, packet: Packet<H, P>)
[src]
fn sendv<'a>(&mut self, packets: impl IntoIterator<Item = Packet<'a, H, P>>) where
P: 'a,
H: 'a,
[src]
P: 'a,
H: 'a,
impl<'_, H: ?Sized, P: ?Sized, I> Send<H, P> for Lossy<'_, I> where
H: Handle,
P: Payload,
I: Send<LossyHandle<H>, P>,
[src]
H: Handle,
P: Payload,
I: Send<LossyHandle<H>, P>,
impl<F, H: Handle + ?Sized, P: Payload + ?Sized> Send<H, P> for FnHandler<F> where
F: FnMut(Packet<H, P>),
[src]
F: FnMut(Packet<H, P>),