pub struct WriteCompletion {
pub batches: u64,
pub cursor: StorageCursor,
}Fields§
§batches: u64§cursor: StorageCursorTrait Implementations§
Source§impl Clone for WriteCompletion
impl Clone for WriteCompletion
Source§fn clone(&self) -> WriteCompletion
fn clone(&self) -> WriteCompletion
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 WriteCompletion
impl Debug for WriteCompletion
Source§impl Described for WriteCompletion
impl Described for WriteCompletion
impl Eq for WriteCompletion
Source§impl MemorySize for WriteCompletion
impl MemorySize for WriteCompletion
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl PartialEq for WriteCompletion
impl PartialEq for WriteCompletion
impl StructuralPartialEq for WriteCompletion
Source§impl Value for WriteCompletion
impl Value for WriteCompletion
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<WriteCompletion, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for WriteCompletion
impl RefUnwindSafe for WriteCompletion
impl Send for WriteCompletion
impl Sync for WriteCompletion
impl Unpin for WriteCompletion
impl UnsafeUnpin for WriteCompletion
impl UnwindSafe for WriteCompletion
Blanket Implementations§
impl<T> Allocation for T
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