Enum gapi_grpc::google::devtools::remoteworkers::v1test2::BotStatus[][src]

#[repr(i32)]pub enum BotStatus {
    Unspecified,
    Ok,
    Unhealthy,
    HostRebooting,
    BotTerminating,
    Initializing,
}

A coarse description of the status of the bot that the server uses to determine whether to assign the bot new leases.

Variants

Unspecified

Default value; do not use.

Ok

The bot is healthy, and will accept leases as normal.

Unhealthy

The bot is unhealthy and will not accept new leases. For example, the bot may have detected that available disk space is too low. This situation may resolve itself, but will typically require human intervention.

HostRebooting

The bot has been asked to reboot the host. The bot will not accept new leases; once all leases are complete, this session will no longer be updated but the bot will be expected to establish a new session after the reboot completes.

BotTerminating

The bot has been asked to shut down. As with HOST_REBOOTING, once all leases are completed, the session will no longer be updated and the bot will not be expected to establish a new session.

Bots are typically only asked to shut down if its host computer will be modified in some way, such as deleting a VM.

Initializing

The bot is initializing and is not ready to accept leases.

Implementations

impl BotStatus[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of BotStatus.

pub fn from_i32(value: i32) -> Option<BotStatus>[src]

Converts an i32 to a BotStatus, or None if value is not a valid variant.

Trait Implementations

impl Clone for BotStatus[src]

impl Copy for BotStatus[src]

impl Debug for BotStatus[src]

impl Default for BotStatus[src]

impl Eq for BotStatus[src]

impl From<BotStatus> for i32[src]

impl Hash for BotStatus[src]

impl Ord for BotStatus[src]

impl PartialEq<BotStatus> for BotStatus[src]

impl PartialOrd<BotStatus> for BotStatus[src]

impl StructuralEq for BotStatus[src]

impl StructuralPartialEq for BotStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for BotStatus

impl Send for BotStatus

impl Sync for BotStatus

impl Unpin for BotStatus

impl UnwindSafe for BotStatus

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]