#[non_exhaustive]pub struct StreamReport {
pub first_seq: Option<u64>,
pub last_seq: Option<u64>,
pub rows: u64,
pub objects: u64,
}Expand description
What a stream wrote: the first and last seq it landed at, and how many
rows and objects. On an error, StreamError::landed is this for what
landed before it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.first_seq: Option<u64>The seq of the first object written, None if none was.
last_seq: Option<u64>The seq of the last object written, None if none was.
rows: u64The rows written. After an error, an unkeyed load resumes by feeding its input again from this row.
objects: u64The WAL objects written.
Trait Implementations§
Source§impl Clone for StreamReport
impl Clone for StreamReport
impl Copy for StreamReport
Source§impl Debug for StreamReport
impl Debug for StreamReport
Source§impl Default for StreamReport
impl Default for StreamReport
impl Eq for StreamReport
Source§impl PartialEq for StreamReport
impl PartialEq for StreamReport
impl StructuralPartialEq for StreamReport
Auto Trait Implementations§
impl Forget for StreamReport
impl Freeze for StreamReport
impl Move for StreamReport
impl RefUnwindSafe for StreamReport
impl Send for StreamReport
impl Sync for StreamReport
impl Unpin for StreamReport
impl UnsafeUnpin for StreamReport
impl UnwindSafe for StreamReport
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more