pub enum FinalizerId {
ForceRemoveVMs,
ForceRemoveVolumes,
ForceRemoveRouters,
CleanUpNetworkInfrastructure,
CleanUpVolumeState,
RemoveVm,
}Expand description
Indicates that certain work needs to be done by controllers before an SclObject can be safely (proper shutdown, no dangling references) deleted. Since SclObjects reference parent / owner SclObjects via SclNames, the work indicated by FinalizerId mainly affects children objects of a SclObject.
Variants§
ForceRemoveVMs
All dependent VM API objects need to be removed before the referenced API object (depending on the case the SeparationContext, Node on which the VM is running or VM Volume) may be deleted.
ForceRemoveVolumes
All dependent Volume API objects need to be removed before the parent SeparationContext API object may be removed.
ForceRemoveRouters
All dependent Router API objects need to be removed before the parent SeparationContext API object may be removed.
CleanUpNetworkInfrastructure
Network infrastructure related to the SclObject (e.g., network namespaces and bridge devices for SeparationContexts, tap devices for VirtualMachines) needs to be removed up before the SclObject may be removed.
CleanUpVolumeState
Local volume state needs to be removed before the Volume API object may be deleted.
RemoveVm
The VM needs to be removed.
Trait Implementations§
Source§impl Clone for FinalizerId
impl Clone for FinalizerId
Source§fn clone(&self) -> FinalizerId
fn clone(&self) -> FinalizerId
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FinalizerId
impl Debug for FinalizerId
Source§impl<'de> Deserialize<'de> for FinalizerId
impl<'de> Deserialize<'de> for FinalizerId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Ord for FinalizerId
impl Ord for FinalizerId
Source§fn cmp(&self, other: &FinalizerId) -> Ordering
fn cmp(&self, other: &FinalizerId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FinalizerId
impl PartialEq for FinalizerId
Source§impl PartialOrd for FinalizerId
impl PartialOrd for FinalizerId
Source§impl Serialize for FinalizerId
impl Serialize for FinalizerId
impl Eq for FinalizerId
impl StructuralPartialEq for FinalizerId
Auto Trait Implementations§
impl Freeze for FinalizerId
impl RefUnwindSafe for FinalizerId
impl Send for FinalizerId
impl Sync for FinalizerId
impl Unpin for FinalizerId
impl UnwindSafe for FinalizerId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.