pub struct PushReceipt {
pub num_objects: u32,
pub version: u32,
pub pack_id: Vec<u8>,
pub pack_bytes: u64,
pub new_oids: Option<Vec<Vec<u8>>>,
pub elapsed_ms: u64,
}Expand description
What one push stored, read back off what was written.
Nothing here is restated from the request: the object count and version come
off the stored pack’s own 12-byte header, and pack_id is its trailing
checksum.
Fields§
§num_objects: u32From the pack’s own header.
version: u32The pack format version, likewise.
pack_id: Vec<u8>The pack’s trailing checksum, which is its identity.
pack_bytes: u64Bytes stored, which for a verbatim store is bytes received.
new_oids: Option<Vec<Vec<u8>>>The object ids this push introduced, when the caller asked for them.
None is not asked for, never “none were introduced” — a gate handed
an empty set would pass, and one handed None refuses.
elapsed_ms: u64Wall time of the ingest.
Trait Implementations§
Source§impl Clone for PushReceipt
impl Clone for PushReceipt
Source§impl Debug for PushReceipt
impl Debug for PushReceipt
Source§impl Default for PushReceipt
impl Default for PushReceipt
impl Eq for PushReceipt
Source§impl PartialEq for PushReceipt
impl PartialEq for PushReceipt
impl StructuralPartialEq for PushReceipt
Auto Trait Implementations§
impl Freeze for PushReceipt
impl RefUnwindSafe for PushReceipt
impl Send for PushReceipt
impl Sync for PushReceipt
impl Unpin for PushReceipt
impl UnsafeUnpin for PushReceipt
impl UnwindSafe for PushReceipt
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request