Enum message_io::network::adapter::PendingStatus
source · pub enum PendingStatus {
Ready,
Incomplete,
Disconnected,
}Variants§
Ready
The resource is no longer considered as a pending resource.
It it came from a listener, a crate::network::NetEvent::Accepted event will be generated.
It it came from a explicit connection, a crate::network::NetEvent::Connected
with its flag to true will be generated.
No more calls to Remote::pending() will be performed.
Incomplete
The resource needs more data to be considered as established.
Disconnected
The resource has not be able to perform the connection.
It it came from a listener, no event will be generated.
It it came from a explicit connection, a crate::network::NetEvent::Connected
with its flag to false will be generated.
No more calls to Remote::pending() will be performed and the resource will be removed.
Trait Implementations§
source§impl Clone for PendingStatus
impl Clone for PendingStatus
source§fn clone(&self) -> PendingStatus
fn clone(&self) -> PendingStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PendingStatus
impl Debug for PendingStatus
source§impl PartialEq<PendingStatus> for PendingStatus
impl PartialEq<PendingStatus> for PendingStatus
source§fn eq(&self, other: &PendingStatus) -> bool
fn eq(&self, other: &PendingStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.