Enum steamworks::networking_types::NetworkingAvailability [−][src]
pub enum NetworkingAvailability {
NeverTried,
Waiting,
Attempting,
Current,
}
Expand description
Describe the status of a particular network resource
Variants
NeverTried
We don’t know because we haven’t ever checked/tried
Waiting
We’re waiting on a dependent resource to be acquired. (E.g. we cannot obtain a cert until we are logged into Steam. We cannot measure latency to relays until we have the network config.)
Attempting
We’re actively trying now, but are not yet successful.
Current
Resource is online/available
Trait Implementations
type Error = NetworkingAvailabilityError
type Error = NetworkingAvailabilityError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NetworkingAvailability
impl Send for NetworkingAvailability
impl Sync for NetworkingAvailability
impl Unpin for NetworkingAvailability
impl UnwindSafe for NetworkingAvailability
Blanket Implementations
Mutably borrows from an owned value. Read more