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
sourceimpl Clone for PendingStatus
impl Clone for PendingStatus
sourcefn clone(&self) -> PendingStatus
fn clone(&self) -> PendingStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PendingStatus
impl Debug for PendingStatus
sourceimpl PartialEq<PendingStatus> for PendingStatus
impl PartialEq<PendingStatus> for PendingStatus
impl Eq for PendingStatus
impl StructuralEq for PendingStatus
impl StructuralPartialEq for PendingStatus
Auto Trait Implementations
impl RefUnwindSafe for PendingStatus
impl Send for PendingStatus
impl Sync for PendingStatus
impl Unpin for PendingStatus
impl UnwindSafe for PendingStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more