pub struct BlobStreamOutEntry {
pub last_sent_at: Option<Instant>,
pub index: usize,
pub is_received_by_remote: bool,
}
Expand description
Represents an individual chunk of the blob data being streamed out.
Each BlobStreamOutEntry
holds metadata about a chunk, including:
timer
: The time when the chunk was last sent, orNone
if it has not been sent.index
: The index of the chunk.start
andend
: Byte ranges representing the chunk’s position within the full blob.
Fields§
§last_sent_at: Option<Instant>
§index: usize
§is_received_by_remote: bool
Implementations§
Source§impl BlobStreamOutEntry
impl BlobStreamOutEntry
Trait Implementations§
Source§impl Clone for BlobStreamOutEntry
impl Clone for BlobStreamOutEntry
Source§fn clone(&self) -> BlobStreamOutEntry
fn clone(&self) -> BlobStreamOutEntry
Returns a copy 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 moreSource§impl Debug for BlobStreamOutEntry
impl Debug for BlobStreamOutEntry
Source§impl PartialEq for BlobStreamOutEntry
impl PartialEq for BlobStreamOutEntry
impl Eq for BlobStreamOutEntry
impl StructuralPartialEq for BlobStreamOutEntry
Auto Trait Implementations§
impl Freeze for BlobStreamOutEntry
impl RefUnwindSafe for BlobStreamOutEntry
impl Send for BlobStreamOutEntry
impl Sync for BlobStreamOutEntry
impl Unpin for BlobStreamOutEntry
impl UnwindSafe for BlobStreamOutEntry
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