Enum unixfs_v1::walk::ContinuedWalk [−][src]
pub enum ContinuedWalk<'a> { Bucket(&'a Cid, &'a Path), Directory(&'a Cid, &'a Path, &'a Metadata), File(FileSegment<'a>, &'a Cid, &'a Path, &'a Metadata, u64), RootDirectory(&'a Cid, &'a Path, &'a Metadata), Symlink(&'a [u8], &'a Cid, &'a Path, &'a Metadata), }
Expand description
Representation of the walk progress.
Variants
Bucket(&'a Cid, &'a Path)
Currently looking at a continuation of a HAMT sharded directory. Usually safe to ignore.
Currently looking at a directory.
File(FileSegment<'a>, &'a Cid, &'a Path, &'a Metadata, u64)
Currently looking at a file. The first tuple value contains the file bytes accessible from the block, which can also be an empty slice.
Currently looking at a root directory.
Currently looking at a symlink. The first tuple value contains the symlink target path. It might be convertible to UTF-8, but this is not specified in the spec.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ContinuedWalk<'a>
impl<'a> Send for ContinuedWalk<'a>
impl<'a> Sync for ContinuedWalk<'a>
impl<'a> Unpin for ContinuedWalk<'a>
impl<'a> UnwindSafe for ContinuedWalk<'a>