Enum unixfs_v1::dir::MaybeResolved
source · [−]pub enum MaybeResolved<'needle> {
Found(Cid),
NeedToLoadMore(ShardedLookup<'needle>),
NotFound,
}
Expand description
Resolving result type for the successful cases.
Variants
Found(Cid)
Link was found for the given segment.
NeedToLoadMore(ShardedLookup<'needle>)
The block presented to resolve
was a HAMT sharded directory and other blocks need to be
read in order to find the link. ShardedLookup
will handle the lookup and navigation
over the shards.
NotFound
The segment could not be found.
Trait Implementations
Auto Trait Implementations
impl<'needle> RefUnwindSafe for MaybeResolved<'needle>
impl<'needle> Send for MaybeResolved<'needle>
impl<'needle> Sync for MaybeResolved<'needle>
impl<'needle> Unpin for MaybeResolved<'needle>
impl<'needle> UnwindSafe for MaybeResolved<'needle>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more