pub enum Operation {
WriteFile {
path: String,
kind: Kind,
before: Option<Digest>,
after: Digest,
},
SpliceBlock {
path: String,
marker: String,
before: Option<Digest>,
after: Digest,
},
RemoveOwnedFile {
path: String,
before: Digest,
},
WriteRecord {
before: Option<Digest>,
after: Digest,
},
UpdatePin {
manager: String,
before: String,
after: String,
},
}Expand description
One typed change an apply makes.
Variants§
WriteFile
Write a whole file at path.
Fields
SpliceBlock
Splice a marked block into the document at path.
Fields
RemoveOwnedFile
Remove a file release-kit owns.
Fields
WriteRecord
Write the landing record, last.
Fields
UpdatePin
Move the rk pin through the wired manager.
Implementations§
Trait Implementations§
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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.