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 for PendingStatus
impl PartialEq for PendingStatus
impl Eq for PendingStatus
impl StructuralPartialEq for PendingStatus
Auto Trait Implementations§
impl Freeze for PendingStatus
impl RefUnwindSafe for PendingStatus
impl Send for PendingStatus
impl Sync for PendingStatus
impl Unpin for PendingStatus
impl UnwindSafe for PendingStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more