Enum NodeComponentState
#[repr(i32)]pub enum NodeComponentState {
StateDetached = 0,
StateDetaching = 1,
StateAttaching = 2,
StateAttached = 3,
}Expand description
Legacy version of enum “kanzi.NodeComponent.State”. State indicating if component is attached to a node, detached from any node or in process of attaching/detaching.
Variants§
StateDetached = 0
Indicates node component detached from any node.
StateDetaching = 1
Indicates node component in progress of detaching from the node.
StateAttaching = 2
Indicates node component in progress of attaching to a node.
StateAttached = 3
Indicates node component attached to a node.
Implementations§
§impl NodeComponentState
impl NodeComponentState
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> NodeComponentState
Trait Implementations§
§impl Clone for NodeComponentState
impl Clone for NodeComponentState
§fn clone(&self) -> NodeComponentState
fn clone(&self) -> NodeComponentState
Returns a duplicate 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 more§impl Debug for NodeComponentState
impl Debug for NodeComponentState
§impl Display for NodeComponentState
impl Display for NodeComponentState
§impl PartialEq for NodeComponentState
impl PartialEq for NodeComponentState
§impl VariantConstraint for NodeComponentState
impl VariantConstraint for NodeComponentState
§type DataArg<'a> = NodeComponentState
type DataArg<'a> = NodeComponentState
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = NodeComponentState
type RetArg = NodeComponentState
§fn as_arg(&self) -> <NodeComponentState as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <NodeComponentState as VariantConstraint>::DataArg<'_>
impl Copy for NodeComponentState
impl Eq for NodeComponentState
impl PropertyTypeConstraint for NodeComponentState
impl StructuralPartialEq for NodeComponentState
Auto Trait Implementations§
impl Freeze for NodeComponentState
impl RefUnwindSafe for NodeComponentState
impl Send for NodeComponentState
impl Sync for NodeComponentState
impl Unpin for NodeComponentState
impl UnwindSafe for NodeComponentState
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