Enum message_io::network::adapter::ReadStatus [−][src]
pub enum ReadStatus {
Disconnected,
WaitNextEvent,
}
Expand description
Returned as a result of Remote::receive()
Variants
This status must be returned if the resource has been disconnected or there was an error.
The resource will be removed after this call and
no more Remote::receive()
calls will be produced by this resource.
This status must be returned when a the resource (treated as a non-bloking) would wait for
process the next event.
Usually, this status is returned if the resource receives
a std::io::ErrorKind::WouldBlock
.