logo
pub enum DetachPlayerResult {
    Waiting(DetachPlayerRequest),
    Ready(ReadyDetachPlayerRequest),
    Failed,
}
Expand description

The result of a request to detach a player.

Variants

Waiting(DetachPlayerRequest)

The request is still pending on the host. Retry to poll with the wrapped request.

Note the request may be spawned a few times for retrying, in case of failure.

Ready(ReadyDetachPlayerRequest)

The request is ready for consumption.

Failed

The request failed, even after retrying multiple times.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.