[][src]Struct ipfs_unixfs::walk::Item

pub struct Item { /* fields omitted */ }

Structure to hide the internal Walker state and to provide an optional way to continue when there are links left to continue with Item::into_inner().

Implementations

impl Item[src]

pub fn as_entry(&self) -> Entry[src]

Returns either the representation of the tree node where the walk last continued to, or the last loaded block.

pub fn into_inner(self) -> Option<Walker>[src]

Returns Some when the walk can be continued, or None if all links have been exhausted.

Trait Implementations

impl Debug for Item[src]

Auto Trait Implementations

impl RefUnwindSafe for Item

impl Send for Item

impl Sync for Item

impl Unpin for Item

impl UnwindSafe for Item

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.