pub enum Step<T> {
Rest(Cid),
Finish,
Step {
rkey: String,
data: T,
},
}
Expand description
Walker outputs
Variants§
Rest(Cid)
We need a CID but it’s not in the block store
Give the needed CID to the driver so it can load blocks until it’s found
Finish
Reached the end of the MST! yay!
Step
A record was found!
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Step<T>where
T: Freeze,
impl<T> RefUnwindSafe for Step<T>where
T: RefUnwindSafe,
impl<T> Send for Step<T>where
T: Send,
impl<T> Sync for Step<T>where
T: Sync,
impl<T> Unpin for Step<T>where
T: Unpin,
impl<T> UnwindSafe for Step<T>where
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