pub struct FailClosedExtraction;Expand description
Every ChunkedBlob and every Blob of at least extract_min_bytes needs
extraction, and there is none yet: the job ends ExtractionUnavailable.
Trait Implementations§
Source§impl Clone for FailClosedExtraction
impl Clone for FailClosedExtraction
impl Copy for FailClosedExtraction
Source§impl Debug for FailClosedExtraction
impl Debug for FailClosedExtraction
Source§impl Default for FailClosedExtraction
impl Default for FailClosedExtraction
Source§impl SliceExtension for FailClosedExtraction
impl SliceExtension for FailClosedExtraction
Source§fn needs_extraction(&self, object: &Object, cfg: &IndexedConfig) -> bool
fn needs_extraction(&self, object: &Object, cfg: &IndexedConfig) -> bool
Whether
object must be extracted into the object store before its
pack is Verified.Source§fn extraction_enabled(&self) -> bool
fn extraction_enabled(&self) -> bool
Whether this existing extension supplies the internal upload callbacks.
Source§fn begin_object<'a>(
&'a self,
_key: BlobKey,
_plan: &'a PartPlan,
_root: Hash,
_cvs: &'a [Hash],
_operation: Hash,
_budget: &'a SliceBudget,
) -> BoxFuture<'a, Result<Option<Vec<u8>>, StoreError>>
fn begin_object<'a>( &'a self, _key: BlobKey, _plan: &'a PartPlan, _root: Hash, _cvs: &'a [Hash], _operation: Hash, _budget: &'a SliceBudget, ) -> BoxFuture<'a, Result<Option<Vec<u8>>, StoreError>>
Start a root-pinned private object session after all source CVs verify.
Source§fn put_object_part<'a>(
&'a self,
_key: BlobKey,
_session: &'a [u8],
_plan: &'a PartPlan,
_index: u32,
_cv: Hash,
_bytes: Vec<u8>,
_budget: &'a SliceBudget,
) -> BoxFuture<'a, Result<Option<Vec<u8>>, StoreError>>
fn put_object_part<'a>( &'a self, _key: BlobKey, _session: &'a [u8], _plan: &'a PartPlan, _index: u32, _cv: Hash, _bytes: Vec<u8>, _budget: &'a SliceBudget, ) -> BoxFuture<'a, Result<Option<Vec<u8>>, StoreError>>
Verify and commit one bounded private part, returning its opaque receipt.
Source§fn complete_object<'a>(
&'a self,
_key: BlobKey,
_session: &'a [u8],
_plan: &'a PartPlan,
_parts: Vec<PartRef>,
_root: Hash,
_budget: &'a SliceBudget,
) -> BoxFuture<'a, Result<Option<CommitOutcome>, StoreError>>
fn complete_object<'a>( &'a self, _key: BlobKey, _session: &'a [u8], _plan: &'a PartPlan, _parts: Vec<PartRef>, _root: Hash, _budget: &'a SliceBudget, ) -> BoxFuture<'a, Result<Option<CommitOutcome>, StoreError>>
Publish only the exact root-pinned parts selected by these receipts.
Source§fn abort_object<'a>(
&'a self,
_key: BlobKey,
_session: &'a [u8],
_plan: &'a PartPlan,
_budget: &'a SliceBudget,
) -> BoxFuture<'a, Result<(), StoreError>>
fn abort_object<'a>( &'a self, _key: BlobKey, _session: &'a [u8], _plan: &'a PartPlan, _budget: &'a SliceBudget, ) -> BoxFuture<'a, Result<(), StoreError>>
Abort the private session; the default extension has no session.
Auto Trait Implementations§
impl Freeze for FailClosedExtraction
impl RefUnwindSafe for FailClosedExtraction
impl Send for FailClosedExtraction
impl Sync for FailClosedExtraction
impl Unpin for FailClosedExtraction
impl UnsafeUnpin for FailClosedExtraction
impl UnwindSafe for FailClosedExtraction
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