Enum rust_unixfs::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.