Enum googapis::google::devtools::remoteworkers::v1test2::BotStatus [−][src]
#[repr(i32)]
pub enum BotStatus {
Unspecified,
Ok,
Unhealthy,
HostRebooting,
BotTerminating,
Initializing,
}
Expand description
A coarse description of the status of the bot that the server uses to determine whether to assign the bot new leases.
Variants
Default value; do not use.
The bot is healthy, and will accept leases as normal.
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.
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.
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.
The bot is initializing and is not ready to accept leases.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for BotStatus
impl UnwindSafe for BotStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more