Struct canadensis_udp::UdpTransmitter
source · pub struct UdpTransmitter<S, const MTU: usize> { /* private fields */ }
Implementations§
source§impl<S, const MTU: usize> UdpTransmitter<S, MTU>where
S: UdpSocket,
impl<S, const MTU: usize> UdpTransmitter<S, MTU>where S: UdpSocket,
Trait Implementations§
source§impl<C, S, const MTU: usize> Transmitter<C> for UdpTransmitter<S, MTU>where
C: Clock,
S: UdpSocket,
impl<C, S, const MTU: usize> Transmitter<C> for UdpTransmitter<S, MTU>where C: Clock, S: UdpSocket,
§type Transport = UdpTransport
type Transport = UdpTransport
The transport that this transmitter works with
source§fn push<A>(
&mut self,
transfer: Transfer<A, C::Instant, Self::Transport>,
clock: &mut C,
socket: &mut S
) -> Result<(), Self::Error>where
A: AsRef<[u8]>,
fn push<A>( &mut self, transfer: Transfer<A, C::Instant, Self::Transport>, clock: &mut C, socket: &mut S ) -> Result<(), Self::Error>where A: AsRef<[u8]>,
Starts the process of sending an outgoing transfer Read more