[][src]Enum gcp_client::google::cloud::osconfig::v1beta::instance::PatchState

#[repr(i32)]pub enum PatchState {
    Unspecified,
    Pending,
    Inactive,
    Notified,
    Started,
    DownloadingPatches,
    ApplyingPatches,
    Rebooting,
    Succeeded,
    SucceededRebootRequired,
    Failed,
    Acked,
    TimedOut,
    RunningPrePatchStep,
    RunningPostPatchStep,
    NoAgentDetected,
}

Patch state of an instance.

Variants

Unspecified

Unspecified.

Pending

The instance is not yet notified.

Inactive

Instance is inactive and cannot be patched.

Notified

The instance is notified that it should be patched.

Started

The instance has started the patching process.

DownloadingPatches

The instance is downloading patches.

ApplyingPatches

The instance is applying patches.

Rebooting

The instance is rebooting.

Succeeded

The instance has completed applying patches.

SucceededRebootRequired

The instance has completed applying patches but a reboot is required.

Failed

The instance has failed to apply the patch.

Acked

The instance acked the notification and will start shortly.

TimedOut

The instance exceeded the time out while applying the patch.

RunningPrePatchStep

The instance is running the pre-patch step.

RunningPostPatchStep

The instance is running the post-patch step.

NoAgentDetected

The service could not detect the presence of the agent. Check to ensure that the agent is installed, running, and able to communicate with the service.

Implementations

impl PatchState[src]

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

Returns true if value is a variant of PatchState.

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

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

Trait Implementations

impl Clone for PatchState[src]

impl Copy for PatchState[src]

impl Debug for PatchState[src]

impl Default for PatchState[src]

impl Eq for PatchState[src]

impl From<PatchState> for i32[src]

impl Hash for PatchState[src]

impl Ord for PatchState[src]

impl PartialEq<PatchState> for PatchState[src]

impl PartialOrd<PatchState> for PatchState[src]

impl StructuralEq for PatchState[src]

impl StructuralPartialEq for PatchState[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]