pub enum ContainerState {
CONTAINER_CREATED = 0,
CONTAINER_RUNNING = 1,
CONTAINER_EXITED = 2,
CONTAINER_UNKNOWN = 3,
}Variants§
Trait Implementations§
Source§impl Clone for ContainerState
impl Clone for ContainerState
Source§fn clone(&self) -> ContainerState
fn clone(&self) -> ContainerState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerState
impl Debug for ContainerState
Source§impl Default for ContainerState
impl Default for ContainerState
Source§impl Hash for ContainerState
impl Hash for ContainerState
Source§impl PartialEq for ContainerState
impl PartialEq for ContainerState
Source§impl ProtobufEnum for ContainerState
impl ProtobufEnum for ContainerState
Source§fn from_i32(value: i32) -> Option<ContainerState>
fn from_i32(value: i32) -> Option<ContainerState>
Try to create an enum from
i32 value.
Return None if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for ContainerState
impl ProtobufValue for ContainerState
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for ContainerState
impl Eq for ContainerState
impl StructuralPartialEq for ContainerState
Auto Trait Implementations§
impl Freeze for ContainerState
impl RefUnwindSafe for ContainerState
impl Send for ContainerState
impl Sync for ContainerState
impl Unpin for ContainerState
impl UnwindSafe for ContainerState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more