pub struct ChunkRequest {
pub start: StreamInstant,
pub pps: u32,
pub n_points: usize,
pub scheduled_ahead_points: u64,
pub device_queued_points: Option<u64>,
}Expand description
A request from the stream for a chunk of points.
Fields§
§start: StreamInstantThe stream instant at which this chunk starts.
pps: u32The points-per-second rate for this chunk.
n_points: usizeNumber of points requested for this chunk.
scheduled_ahead_points: u64How many points are currently scheduled ahead of start.
device_queued_points: Option<u64>Best-effort: points reported by the device as queued.
Trait Implementations§
Source§impl Clone for ChunkRequest
impl Clone for ChunkRequest
Source§fn clone(&self) -> ChunkRequest
fn clone(&self) -> ChunkRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for ChunkRequest
impl RefUnwindSafe for ChunkRequest
impl Send for ChunkRequest
impl Sync for ChunkRequest
impl Unpin for ChunkRequest
impl UnwindSafe for ChunkRequest
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