pub struct PreparedBundleMutation { /* private fields */ }Expand description
Stable staged bytes and candidate resolution for one pending Bundle mutation.
Callers may inspect the verified identity before committing, which lets a
catalog compare its signed metadata without re-reading or re-hashing the
Bundle. The staged directory is removed automatically unless commit is
called.
Implementations§
Source§impl PreparedBundleMutation
impl PreparedBundleMutation
pub const fn verified(&self) -> &VerifiedBundle
pub const fn resolved(&self) -> &ResolvedApp
pub fn destination(&self) -> &Path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedBundleMutation
impl RefUnwindSafe for PreparedBundleMutation
impl Send for PreparedBundleMutation
impl Sync for PreparedBundleMutation
impl Unpin for PreparedBundleMutation
impl UnsafeUnpin for PreparedBundleMutation
impl UnwindSafe for PreparedBundleMutation
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