pub struct PreparedChained {
pub target: PreparedExisting,
pub original_digest: Sha256Digest,
pub predecessor_digest: Sha256Digest,
}Expand description
A prepared existing target whose inode may be replaced by an earlier call in the same serialized batch.
Fields§
§target: PreparedExisting§original_digest: Sha256Digest§predecessor_digest: Sha256DigestImplementations§
Source§impl PreparedChained
impl PreparedChained
pub fn revalidate(&self) -> Result<(), ToolError>
pub fn revalidate_for_execution(&self) -> Result<(), ToolError>
pub fn replace_atomically( &self, bytes: &[u8], ) -> Result<AtomicWriteOutcome, ToolError>
Auto Trait Implementations§
impl Freeze for PreparedChained
impl RefUnwindSafe for PreparedChained
impl Send for PreparedChained
impl Sync for PreparedChained
impl Unpin for PreparedChained
impl UnsafeUnpin for PreparedChained
impl UnwindSafe for PreparedChained
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