Module links_nonblocking::core
source · Modules§
- This module contains a non blocking
paired
FrameReader and FrameWriter which are designed to be used in separate threads, where each thread is only doing either reading or writing to the underlying mio::net::TcpStream. - This module contains a non blocking
paired
MessageRecver and MessageSender which are designed to be used in separate threads, where each thread is only doing either send or recv to the underlying mio::net::TcpStream via respective FrameReader and FrameWriter.
Enums§
- Represents the state of a non-blocking accept operation
- Represents the state of a non-blocking accept operation on a pool
- Represents the state of a non-blocking read operation
- Represents the state of the write operation
Traits§
- A trait to be implemented for a type that can be registered with a mio::Poll instance, it helps to abstract away details of Token generation registration and de-registration The source will get automatically deregistered from the poll instance when PollRead::on_readable_event returns [Ok(PollEventStatus::Terminate)] or [Err(_)]