pub enum Action {
None,
Create,
Update,
Remove,
Disable,
Adopt,
AdoptOverwrite,
Refresh,
Forget,
Release,
Import,
Skip,
}Expand description
What the executor does with an entry.
Variants§
None
Nothing.
Create
Write a new entry; the ledger records it as created.
Update
Rewrite an owned entry.
Remove
Delete an owned, unchanged entry.
Disable
Disable an owned entry natively (enabled = false).
Adopt
Record an identical foreign entry in the ledger; no write.
AdoptOverwrite
Overwrite a colliding foreign entry and record it as adopted.
Refresh
Record the current hash of an entry that already equals desired.
Forget
Drop the ledger record of an entry that no longer exists.
Release
Drop the ledger record and leave the entry to the user.
Import
Turn the native entry into the store’s desired state (a store edit); for a deleted entry, stop enabling the server for that client.
Skip
A decision is needed or was declined; nothing happens.
Implementations§
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Forget for Action
impl Freeze for Action
impl Move for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.