pub enum LazyItem<T> {
Next(Arc<T>),
ItemsRolledOut(u64, BootInstant),
}
Expand description
The next element in the stream or a marker of the number of items rolled out since last polled.
Variants§
Next(Arc<T>)
The next item in the stream.
ItemsRolledOut(u64, BootInstant)
A count of the items dropped between the last call to poll_next and this one.
Trait Implementations§
impl<T> StructuralPartialEq for LazyItem<T>
Auto Trait Implementations§
impl<T> Freeze for LazyItem<T>
impl<T> RefUnwindSafe for LazyItem<T>where
T: RefUnwindSafe,
impl<T> Send for LazyItem<T>
impl<T> Sync for LazyItem<T>
impl<T> Unpin for LazyItem<T>
impl<T> UnwindSafe for LazyItem<T>where
T: RefUnwindSafe,
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