pub struct OffsetPageObservation<'snapshot> { /* private fields */ }Expand description
One decoded offset-page response supplied to a pager driver.
Implementations§
Source§impl<'snapshot> OffsetPageObservation<'snapshot>
impl<'snapshot> OffsetPageObservation<'snapshot>
Sourcepub const fn new(
metadata: OffsetPageMetadata,
entries: usize,
rate_limit: Option<RateLimit>,
snapshot: Option<SnapshotId<'snapshot>>,
) -> Self
pub const fn new( metadata: OffsetPageMetadata, entries: usize, rate_limit: Option<RateLimit>, snapshot: Option<SnapshotId<'snapshot>>, ) -> Self
Groups one complete decoded response observation.
Trait Implementations§
Source§impl<'snapshot> Clone for OffsetPageObservation<'snapshot>
impl<'snapshot> Clone for OffsetPageObservation<'snapshot>
Source§fn clone(&self) -> OffsetPageObservation<'snapshot>
fn clone(&self) -> OffsetPageObservation<'snapshot>
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 moreimpl<'snapshot> Copy for OffsetPageObservation<'snapshot>
Source§impl<'snapshot> Debug for OffsetPageObservation<'snapshot>
impl<'snapshot> Debug for OffsetPageObservation<'snapshot>
impl<'snapshot> Eq for OffsetPageObservation<'snapshot>
Source§impl<'snapshot> PartialEq for OffsetPageObservation<'snapshot>
impl<'snapshot> PartialEq for OffsetPageObservation<'snapshot>
impl<'snapshot> StructuralPartialEq for OffsetPageObservation<'snapshot>
Auto Trait Implementations§
impl<'snapshot> Freeze for OffsetPageObservation<'snapshot>
impl<'snapshot> RefUnwindSafe for OffsetPageObservation<'snapshot>
impl<'snapshot> Send for OffsetPageObservation<'snapshot>
impl<'snapshot> Sync for OffsetPageObservation<'snapshot>
impl<'snapshot> Unpin for OffsetPageObservation<'snapshot>
impl<'snapshot> UnsafeUnpin for OffsetPageObservation<'snapshot>
impl<'snapshot> UnwindSafe for OffsetPageObservation<'snapshot>
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