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