pub struct BlockedMergeCandidate {
pub commit: VerifiedStoreBatchCommit,
pub commit_bytes: Vec<u8>,
pub commit_object: ExactObjectRef,
pub head: StoreDeviceHead,
pub head_object: ExactObjectRef,
}Expand description
A candidate whose activation is blocked: the commit and head it would have activated, each named by the reference that identifies it.
The upload bytes are deliberately absent. A blocked candidate is only ever examined and cleaned up — its objects are deleted from storage by reference, never written again — so carrying them would be carrying what no reader reads.
Fields§
§commit: VerifiedStoreBatchCommit§commit_bytes: Vec<u8>§commit_object: ExactObjectRef§head: StoreDeviceHead§head_object: ExactObjectRefTrait Implementations§
Source§impl Clone for BlockedMergeCandidate
impl Clone for BlockedMergeCandidate
Source§fn clone(&self) -> BlockedMergeCandidate
fn clone(&self) -> BlockedMergeCandidate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for BlockedMergeCandidate
impl RefUnwindSafe for BlockedMergeCandidate
impl Send for BlockedMergeCandidate
impl Sync for BlockedMergeCandidate
impl Unpin for BlockedMergeCandidate
impl UnsafeUnpin for BlockedMergeCandidate
impl UnwindSafe for BlockedMergeCandidate
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