pub enum PowerTargetType {
Nodes,
Cluster,
}Expand description
Whether the caller’s targets_expression is a hosts expression
(xnames / nids / hostlist) or a single HSM group name whose
members should be targeted.
Variants§
Nodes
targets_expression is a hosts expression.
Cluster
targets_expression is a single HSM group name.
Trait Implementations§
Source§impl Clone for PowerTargetType
impl Clone for PowerTargetType
Source§fn clone(&self) -> PowerTargetType
fn clone(&self) -> PowerTargetType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PowerTargetType
impl Debug for PowerTargetType
impl Copy for PowerTargetType
Auto Trait Implementations§
impl Freeze for PowerTargetType
impl RefUnwindSafe for PowerTargetType
impl Send for PowerTargetType
impl Sync for PowerTargetType
impl Unpin for PowerTargetType
impl UnsafeUnpin for PowerTargetType
impl UnwindSafe for PowerTargetType
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