pub struct FetchPlan<S: Sequencer> { /* private fields */ }Expand description
Unforgeable metadata page from one sequencer/blob authority. Reserve the declared metadata budget before constructing, then per-batch bytes before read.
Implementations§
Source§impl<S: Sequencer> FetchPlan<S>
impl<S: Sequencer> FetchPlan<S>
Sourcepub fn entries(&self) -> &[IndexEntry]
pub fn entries(&self) -> &[IndexEntry]
Borrow the bounded metadata entries without cloning object identifiers.
Sourcepub fn payload_bytes(&self) -> u64
pub fn payload_bytes(&self) -> u64
Sum of planned payload bytes; reserve this or each batch before I/O.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for FetchPlan<S>
impl<S> !UnwindSafe for FetchPlan<S>
impl<S> Forget for FetchPlan<S>
impl<S> Freeze for FetchPlan<S>
impl<S> Send for FetchPlan<S>
impl<S> Sync for FetchPlan<S>
impl<S> Unpin for FetchPlan<S>
impl<S> UnsafeUnpin for FetchPlan<S>where
Weak<S>: UnsafeUnpin,
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