pub enum ProjectFileApproval {
Write {
target: ProjectFileTarget,
expected: ExpectedProjectFile,
bytes: Vec<u8>,
missing_approved: bool,
},
Adopt {
target: ProjectFileTarget,
observed_digest: Option<Digest>,
},
}Expand description
Include one update per physical file in an approved plan. Write carries
the reviewed candidate bytes and expected on-disk state. Use Adopt only
when capture approves that file’s current bytes (or absence).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ProjectFileApproval
impl Freeze for ProjectFileApproval
impl Move for ProjectFileApproval
impl RefUnwindSafe for ProjectFileApproval
impl Send for ProjectFileApprovalwhere
RawVecInner: Send,
impl Sync for ProjectFileApprovalwhere
RawVecInner: Sync,
impl Unpin for ProjectFileApproval
impl UnsafeUnpin for ProjectFileApproval
impl UnwindSafe for ProjectFileApprovalwhere
RawVecInner: UnwindSafe,
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