pub struct StreamCollection<T> {
pub items: Vec<T>,
pub completion: Completion,
pub wire_bytes: usize,
}Fields§
§items: Vec<T>§completion: Completion§wire_bytes: usizeImplementations§
Source§impl<T> StreamCollection<T>
impl<T> StreamCollection<T>
pub fn is_complete(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for StreamCollection<T>
impl<T> RefUnwindSafe for StreamCollection<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for StreamCollection<T>
impl<T> Sync for StreamCollection<T>
impl<T> Unpin for StreamCollection<T>
impl<T> UnsafeUnpin for StreamCollection<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for StreamCollection<T>where
Vec<T>: UnwindSafe,
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