pub struct DroppedItem {
pub hash: String,
pub bytes: Vec<u8>,
}Expand description
One dropped item’s original bytes, keyed by its content hash (== the hash the marker
substituted in its place points at). pipeline::apply_lossy_reduction persists these
fail-closed: an item is only actually removed from the output if RetrievalStore::store
returns Ok for it.
Fields§
§hash: String§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for DroppedItem
impl Clone for DroppedItem
Source§fn clone(&self) -> DroppedItem
fn clone(&self) -> DroppedItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DroppedItem
impl Debug for DroppedItem
impl Eq for DroppedItem
Source§impl PartialEq for DroppedItem
impl PartialEq for DroppedItem
impl StructuralPartialEq for DroppedItem
Auto Trait Implementations§
impl Freeze for DroppedItem
impl RefUnwindSafe for DroppedItem
impl Send for DroppedItem
impl Sync for DroppedItem
impl Unpin for DroppedItem
impl UnsafeUnpin for DroppedItem
impl UnwindSafe for DroppedItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.