pub struct ChunkRef {
pub session: String,
pub segment: i64,
pub seq: i64,
pub fin: bool,
pub flush: bool,
}Expand description
One chunk’s place in its stream.
Fields§
§session: StringWhich conversation.
segment: i64Which message within it.
seq: i64Which chunk within that message.
fin: boolWhether this chunk ends the segment.
flush: boolWhether the sender asked for an immediate delivery.
Implementations§
Trait Implementations§
impl Eq for ChunkRef
Source§impl Ord for ChunkRef
impl Ord for ChunkRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ChunkRef
impl PartialOrd for ChunkRef
impl StructuralPartialEq for ChunkRef
Auto Trait Implementations§
impl Freeze for ChunkRef
impl RefUnwindSafe for ChunkRef
impl Send for ChunkRef
impl Sync for ChunkRef
impl Unpin for ChunkRef
impl UnsafeUnpin for ChunkRef
impl UnwindSafe for ChunkRef
Blanket Implementations§
impl<T> Allocation for T
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