pub enum Step<T, M> {
None,
Base(T),
Shift(M),
}Expand description
Stream Level Return
- None: Iter didn’t progress: Can’t be the requested thing
- Base: Iter progressed (e.g. due to checks), here are the OG things
- Shift: Iter progressed: Successfully processed whatever requested
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, M> Freeze for Step<T, M>
impl<T, M> RefUnwindSafe for Step<T, M>where
T: RefUnwindSafe,
M: RefUnwindSafe,
impl<T, M> Send for Step<T, M>
impl<T, M> Sync for Step<T, M>
impl<T, M> Unpin for Step<T, M>
impl<T, M> UnwindSafe for Step<T, M>where
T: UnwindSafe,
M: 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