Struct nu_command::InputStream[][src]

pub struct InputStream { /* fields omitted */ }

Implementations

impl InputStream[src]

pub fn empty() -> InputStream

Notable traits for InputStream

impl Iterator for InputStream type Item = Value;
[src]

pub fn one(item: impl Into<Value>) -> InputStream

Notable traits for InputStream

impl Iterator for InputStream type Item = Value;
[src]

pub fn into_vec(self) -> Vec<Value, Global>[src]

pub fn is_empty(&self) -> bool[src]

pub fn drain_vec(&mut self) -> Vec<Value, Global>[src]

pub fn from_stream(
    input: impl Iterator<Item = Value> + Send + Sync + 'static
) -> InputStream

Notable traits for InputStream

impl Iterator for InputStream type Item = Value;
[src]

pub fn collect_string(self, tag: Tag) -> Result<Tagged<String>, ShellError>[src]

pub fn collect_binary(
    self,
    tag: Tag
) -> Result<Tagged<Vec<u8, Global>>, ShellError>
[src]

Trait Implementations

impl From<InputStream> for ActionStream[src]

impl From<Vec<Value, Global>> for InputStream[src]

impl From<VecDeque<Value>> for InputStream[src]

impl Iterator for InputStream[src]

type Item = Value

The type of the elements being iterated over.

Auto Trait Implementations

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<S, V> Interruptible<V> for S where
    S: Iterator<Item = V> + Send + Sync + 'static, 
[src]

impl<T, U> Into<U> for T where
    U: From<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<I> IteratorRandom for I where
    I: Iterator
[src]

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

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SpannedItem for T[src]

impl<T> TaggedItem for T[src]

impl<T, U> ToActionStream for T where
    T: Iterator<Item = U> + Send + Sync + 'static,
    U: Into<Result<ReturnSuccess, ShellError>>, 
[src]

impl<T> ToOutputStream for T where
    T: Iterator<Item = Value> + Send + Sync + 'static, 
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,