[][src]Trait w5500::Udp

pub trait Udp<E> {
    fn receive(
        &mut self,
        target_buffer: &mut [u8]
    ) -> Result<Option<(IpAddress, u16, usize)>, E>;
fn blocking_send(
        &mut self,
        host: &IpAddress,
        host_port: u16,
        data: &[u8]
    ) -> Result<(), E>; }

Required methods

fn receive(
    &mut self,
    target_buffer: &mut [u8]
) -> Result<Option<(IpAddress, u16, usize)>, E>

fn blocking_send(
    &mut self,
    host: &IpAddress,
    host_port: u16,
    data: &[u8]
) -> Result<(), E>

Loading content...

Implementors

impl<E, '_, '_, '_, '_, '_> Udp<E> for (&'_ mut ActiveW5500<'_, '_, '_, E>, &'_ UdpSocket)[src]

Loading content...