Struct embedded_nal_tcpextensions::BufferedStack[][src]

pub struct BufferedStack<ST: TcpClientStack, const N: usize>(_);
Expand description

A wrapper around a TcpStack that provides TcpExactStack

The implementation is comparatively crude: there’s just a per-socket buffer that data is copied into on demand.

Using this is generally not recommended – TCP stacks usually have the buffers in there somewhere, and and “just” need to expose them.

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.

Capacity of the connection’s TCP buffer. Read more

Capacity of the connection’s TCP send buffer. Read more

Receive data from the stream. Read more

Send all this data to the stream. Read more

Create a new TCP socket and bind it to the specified local port. Read more

Begin listening for connection requests on a previously-bound socket. Read more

Accept an active connection request on a listening socket. Read more

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

Performs the conversion.

Performs the conversion.

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.