pub struct AppendLoadResult<T> {
pub entries: Vec<T>,
pub cursor: Option<AppendCursor>,
}Expand description
D269 — Result of a paginated AppendLogStorageTier::load_entries.
cursor.is_none() ⇒ no more entries (consumer should stop). Returning
the whole tail with cursor.is_none() matches the back-compat shape
(bare load_entries(LoadEntriesOpts::default()) is byte-for-byte the
pre-D269 behavior).
Fields§
§entries: Vec<T>§cursor: Option<AppendCursor>Trait Implementations§
Source§impl<T: Clone> Clone for AppendLoadResult<T>
impl<T: Clone> Clone for AppendLoadResult<T>
Source§fn clone(&self) -> AppendLoadResult<T>
fn clone(&self) -> AppendLoadResult<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for AppendLoadResult<T>
impl<T> RefUnwindSafe for AppendLoadResult<T>where
T: RefUnwindSafe,
impl<T> Send for AppendLoadResult<T>where
T: Send,
impl<T> Sync for AppendLoadResult<T>where
T: Sync,
impl<T> Unpin for AppendLoadResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for AppendLoadResult<T>
impl<T> UnwindSafe for AppendLoadResult<T>where
T: UnwindSafe,
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