pub struct Esp8266IpNetworkDriver<'a, Tx>{ /* private fields */ }
Expand description
Network driver based on the ESP8266 board
Trait Implementations§
Source§impl<'a, Tx> Debug for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> Debug for Esp8266IpNetworkDriver<'a, Tx>
Source§impl<'a, Tx> Dns for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> Dns for Esp8266IpNetworkDriver<'a, Tx>
Source§impl<'a, Tx> IpNetworkDriver for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> IpNetworkDriver for Esp8266IpNetworkDriver<'a, Tx>
Source§impl<'a, Tx> TcpStack for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> TcpStack for Esp8266IpNetworkDriver<'a, Tx>
Source§fn open(&self, mode: Mode) -> Result<Self::TcpSocket, Self::Error>
fn open(&self, mode: Mode) -> Result<Self::TcpSocket, Self::Error>
Open a new TCP socket. The socket starts in the unconnected state.
Source§fn connect(
&self,
socket: Self::TcpSocket,
remote: HostSocketAddr,
) -> Result<Self::TcpSocket, Self::Error>
fn connect( &self, socket: Self::TcpSocket, remote: HostSocketAddr, ) -> Result<Self::TcpSocket, Self::Error>
Connect to the given remote host and port.
Source§fn is_connected(&self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>
fn is_connected(&self, socket: &Self::TcpSocket) -> Result<bool, Self::Error>
Check if this socket is connected
Source§fn write(
&self,
socket: &mut Self::TcpSocket,
buffer: &[u8],
) -> Result<usize, Self::Error>
fn write( &self, socket: &mut Self::TcpSocket, buffer: &[u8], ) -> Result<usize, Self::Error>
Write to the stream. Returns the number of bytes written is returned
(which may be less than
buffer.len()
), or an error.Auto Trait Implementations§
impl<'a, Tx> !Freeze for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> !RefUnwindSafe for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> Send for Esp8266IpNetworkDriver<'a, Tx>where
Tx: Send,
impl<'a, Tx> !Sync for Esp8266IpNetworkDriver<'a, Tx>
impl<'a, Tx> Unpin for Esp8266IpNetworkDriver<'a, Tx>where
Tx: Unpin,
impl<'a, Tx> !UnwindSafe for Esp8266IpNetworkDriver<'a, Tx>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more