pub struct Esp8266Socket<'a, T>where
    T: Read + Write,
{ /* private fields */ }
Expand description

A handle for a connection using the Esp8266 driver. The socket is closed when the instance is drop’ed.

Trait Implementations§

Executes the destructor for this type. Read more
Error type of all the IO operations on this type.

Pull some bytes from this source into the specified buffer, returning how many bytes were read.

Read the exact number of bytes required to fill buf.

Write a buffer into this writer, returning how many bytes were written.

Flush this output stream, ensuring that all intermediately buffered contents reach their destination.

Write an entire buffer into this writer.

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.