Enum msfs::network::NetworkRequestState
source · pub enum NetworkRequestState {
Invalid,
New,
WaitingForData,
DataReady,
Failed,
}
Expand description
The states in which a network request can be in
Variants§
Trait Implementations§
source§impl Clone for NetworkRequestState
impl Clone for NetworkRequestState
source§fn clone(&self) -> NetworkRequestState
fn clone(&self) -> NetworkRequestState
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 NetworkRequestState
impl Debug for NetworkRequestState
source§impl From<u8> for NetworkRequestState
impl From<u8> for NetworkRequestState
source§fn from(value: FsNetworkHttpRequestState) -> Self
fn from(value: FsNetworkHttpRequestState) -> Self
Converts to this type from the input type.
source§impl PartialEq<NetworkRequestState> for NetworkRequestState
impl PartialEq<NetworkRequestState> for NetworkRequestState
source§fn eq(&self, other: &NetworkRequestState) -> bool
fn eq(&self, other: &NetworkRequestState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NetworkRequestState
impl Eq for NetworkRequestState
impl StructuralEq for NetworkRequestState
impl StructuralPartialEq for NetworkRequestState
Auto Trait Implementations§
impl RefUnwindSafe for NetworkRequestState
impl Send for NetworkRequestState
impl Sync for NetworkRequestState
impl Unpin for NetworkRequestState
impl UnwindSafe for NetworkRequestState
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