Struct trust_dns::tcp::TcpHandler [] [src]

pub struct TcpHandler { /* fields omitted */ }

Methods

impl TcpHandler
[src]

initializes this handler with the intention to write first

initializes this handler with the intention to read first

The result may be an error case of ErrorKind::WouldBlock, which means that the handler handler should be put back into the event loop for more processing.

resets the state of the handler to perform more requests if desired. clears the buffers and sets the state back to the initial state