pub enum FeatureUpdateDecision {
UnknownUpdateType,
NegativeLevel,
UnsupportedByNode,
DowngradeWithoutFlag,
DowngradeToNewerLevel,
UnsafeMetadataDowngrade,
LossyMetadataDowngrade,
KRaftDowngrade,
DependencyUnmet,
EmitFeature,
UpgradeKRaft,
NoChange,
}Expand description
The first failed rule, or what an admitted row does.
Variants§
UnknownUpdateType
NegativeLevel
UnsupportedByNode
DowngradeWithoutFlag
DowngradeToNewerLevel
UnsafeMetadataDowngrade
A metadata.version downgrade across a level that changed metadata,
asked for as UNSAFE_DOWNGRADE.
LossyMetadataDowngrade
A metadata.version downgrade across a level that changed metadata,
asked for as SAFE_DOWNGRADE.
KRaftDowngrade
A kraft.version downgrade.
DependencyUnmet
EmitFeature
Emit the feature-level record.
UpgradeKRaft
Hand the kraft.version upgrade to the Raft layer.
NoChange
A kraft.version row with a downgrade type at the current level:
nothing to do.
Trait Implementations§
Source§impl Clone for FeatureUpdateDecision
impl Clone for FeatureUpdateDecision
Source§fn clone(&self) -> FeatureUpdateDecision
fn clone(&self) -> FeatureUpdateDecision
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 FeatureUpdateDecision
Source§impl Debug for FeatureUpdateDecision
impl Debug for FeatureUpdateDecision
impl Eq for FeatureUpdateDecision
Source§impl PartialEq for FeatureUpdateDecision
impl PartialEq for FeatureUpdateDecision
impl StructuralPartialEq for FeatureUpdateDecision
Auto Trait Implementations§
impl Freeze for FeatureUpdateDecision
impl RefUnwindSafe for FeatureUpdateDecision
impl Send for FeatureUpdateDecision
impl Sync for FeatureUpdateDecision
impl Unpin for FeatureUpdateDecision
impl UnsafeUnpin for FeatureUpdateDecision
impl UnwindSafe for FeatureUpdateDecision
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