[][src]Enum ipld::BorrowedIpldListIter

pub enum BorrowedIpldListIter<'a, C: CodecExt> {
    Slice(RefCell<SliceIter<'a, Ipld<'a, C>>>),
    Vec(RefCell<VecIter<Ipld<'a, C>>>),
}

Wrapper around Iterators commonly used with IPLD lists.

Uses RefCell to bypass serde's strict borrowing requirements.

Variants

Slice(RefCell<SliceIter<'a, Ipld<'a, C>>>)
Vec(RefCell<VecIter<Ipld<'a, C>>>)

Trait Implementations

impl<'a, C: Clone + CodecExt> Clone for IpldListIter<'a, C>[src]

impl<'a, C: Debug + CodecExt> Debug for IpldListIter<'a, C>[src]

impl<'a, C> From<IntoIter<Ipld<'a, C>>> for IpldListIter<'a, C> where
    C: CodecExt
[src]

impl<'a, C> From<Iter<'a, Ipld<'a, C>>> for IpldListIter<'a, C> where
    C: CodecExt
[src]

Auto Trait Implementations

impl<'a, C> !RefUnwindSafe for IpldListIter<'a, C>

impl<'a, C> !Send for IpldListIter<'a, C>

impl<'a, C> !Sync for IpldListIter<'a, C>

impl<'a, C> Unpin for IpldListIter<'a, C> where
    C: Unpin

impl<'a, C> !UnwindSafe for IpldListIter<'a, C>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.