[][src]Struct vessels::kind::Iterator

pub struct Iterator<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static>(pub T)
where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
;

Methods

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

pub fn new(item: T) -> Self[src]

Trait Implementations

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Kind for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

type ConstructItem = Vec<ForkHandle>

The item transmitted over the network to the construction task from deconstruction. Read more

type ConstructError = WrappedError<<<T as IntoIterator>::Item as Kind>::ConstructError>

The failure condition of constructing a concrete type from communicated data.

type ConstructFuture = Future<ConstructResult<Self>>

The concrete future type returned by the construction process.

type DeconstructItem = ()

The item transmitted over the network from the construction task to deconstruction. Read more

type DeconstructError = WrappedError<<<T as IntoIterator>::Item as Kind>::DeconstructError>

The failure condition of constructing a concrete type from communicated data.

type DeconstructFuture = Future<DeconstructResult<Self>>

The concrete future type returned by the deconstruction process. This is used to only to communicate failure of deconstruction and does not return a value. Read more

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> From<T> for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> IntoIterator for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

type Item = <T as IntoIterator>::Item

The type of the elements being iterated over.

type IntoIter = <T as IntoIterator>::IntoIter

Which kind of iterator are we turning this into?

impl<T: Clone + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Clone for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Copy + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Copy for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Default + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Default for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Eq + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Eq for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Ord + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Ord for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: PartialEq + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> PartialEq<Iterator<T>> for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: PartialOrd + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> PartialOrd<Iterator<T>> for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Debug + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Debug for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Deref for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

type Target = T

The resulting type after dereferencing.

impl<T: Hash + Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> Hash for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> StructuralPartialEq for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> StructuralEq for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> FromIterator<<T as IntoIterator>::Item> for Iterator<T> where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

Auto Trait Implementations

impl<T> Send for Iterator<T>

impl<T> Sync for Iterator<T>

impl<T> Unpin for Iterator<T>

impl<T> UnwindSafe for Iterator<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for Iterator<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<K> OnTo for K where
    K: Kind
[src]

impl<'de, U, K> ApplyDecode<'de, K> for U where
    K: Kind
[src]

impl<T> AsKind<Default> for T where
    T: 'static + Send + Sync + Unpin + Default
[src]

type Kind = Default<T>

impl<T> AsKind<Iterator> for T where
    T: 'static + Send + Sync + Unpin + FromIterator<<T as IntoIterator>::Item> + IntoIterator,
    <T as IntoIterator>::Item: Kind,
    <T as IntoIterator>::IntoIter: Unpin,
    <T as IntoIterator>::IntoIter: Sync,
    <T as IntoIterator>::IntoIter: Send
[src]

type Kind = Iterator<T>

impl<T> Share for T where
    T: Clone
[src]

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

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.

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

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

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

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any