pub enum IdentityOutcome {
NoMaintainCommand,
NoSlots,
Claimed {
by_pid: u32,
},
Slots(Vec<SlotMaintenance>),
}Expand description
What became of one identity.
Externally tagged in kebab case, the way MaintenanceOutcome is: "no-slots",
{"claimed": {"by_pid": N}}, {"slots": [...]}.
Variants§
NoMaintainCommand
The resolved policy names no maintain, so there is nothing to run.
NoSlots
Nothing has cut a slot for this identity.
Claimed
Another pool maintain holds this identity right now; nothing was touched.
Slots(Vec<SlotMaintenance>)
Every slot, in number order, and what became of each.
Trait Implementations§
Source§impl Clone for IdentityOutcome
impl Clone for IdentityOutcome
Source§impl Debug for IdentityOutcome
impl Debug for IdentityOutcome
Source§impl<'de> Deserialize<'de> for IdentityOutcome
impl<'de> Deserialize<'de> for IdentityOutcome
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IdentityOutcome
Source§impl PartialEq for IdentityOutcome
impl PartialEq for IdentityOutcome
Source§impl Serialize for IdentityOutcome
impl Serialize for IdentityOutcome
impl StructuralPartialEq for IdentityOutcome
Auto Trait Implementations§
impl Freeze for IdentityOutcome
impl RefUnwindSafe for IdentityOutcome
impl Send for IdentityOutcome
impl Sync for IdentityOutcome
impl Unpin for IdentityOutcome
impl UnsafeUnpin for IdentityOutcome
impl UnwindSafe for IdentityOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.