pub struct StreamStatus {
pub connected: bool,
pub chunk_points: usize,
pub scheduled_ahead_points: u64,
pub device_queued_points: Option<u64>,
pub stats: Option<StreamStats>,
}Expand description
Current status of a stream.
Fields§
§connected: boolWhether the device is connected.
chunk_points: usizeThe resolved chunk size chosen for this stream.
scheduled_ahead_points: u64Library-owned scheduled amount.
device_queued_points: Option<u64>Best-effort device/backend estimate.
stats: Option<StreamStats>Optional statistics for diagnostics.
Trait Implementations§
Source§impl Clone for StreamStatus
impl Clone for StreamStatus
Source§fn clone(&self) -> StreamStatus
fn clone(&self) -> StreamStatus
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 StreamStatus
impl RefUnwindSafe for StreamStatus
impl Send for StreamStatus
impl Sync for StreamStatus
impl Unpin for StreamStatus
impl UnwindSafe for StreamStatus
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