pub enum DeploymentNodeState {
Online,
Draining,
Offline,
}Expand description
Node availability state for placement decisions.
Variants§
Online
Node may receive new station placements.
Draining
Node keeps existing station placements but should not receive new ones.
Offline
Node is unavailable for station routes.
Trait Implementations§
Source§impl Clone for DeploymentNodeState
impl Clone for DeploymentNodeState
Source§fn clone(&self) -> DeploymentNodeState
fn clone(&self) -> DeploymentNodeState
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 moreimpl Copy for DeploymentNodeState
Source§impl Debug for DeploymentNodeState
impl Debug for DeploymentNodeState
impl Eq for DeploymentNodeState
Source§impl PartialEq for DeploymentNodeState
impl PartialEq for DeploymentNodeState
impl StructuralPartialEq for DeploymentNodeState
Auto Trait Implementations§
impl Freeze for DeploymentNodeState
impl RefUnwindSafe for DeploymentNodeState
impl Send for DeploymentNodeState
impl Sync for DeploymentNodeState
impl Unpin for DeploymentNodeState
impl UnsafeUnpin for DeploymentNodeState
impl UnwindSafe for DeploymentNodeState
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