Struct w5500::Device

source ·
pub struct Device<SpiBus: Bus, HostImpl: Host> { /* private fields */ }

Implementations§

Trait Implementations§

The type returned when we create a new TCP socket
The type returned when we have an error
Open a socket for usage as a TCP client. Read more
Connect to the given remote host and port. Read more
Check if this socket is connected
Write to the stream. Read more
Receive data from the stream. Read more
Close an existing TCP socket.
The type returned when we create a new UDP socket
The type returned when we have an error
Allocate a socket for further use.
Connect a UDP socket with a peer using a dynamically selected port. Read more
Send a datagram to the remote host. Read more
Read a datagram the remote host has sent to us. Read more
Close an existing UDP socket.
Bind a UDP socket with a specified port
Send a packet to a remote host/port.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.