vdev::util

Trait ChainArgs

Source
pub trait ChainArgs {
    // Required method
    fn chain_args<I: Into<OsString>>(
        &self,
        args: impl IntoIterator<Item = I>,
    ) -> Vec<OsString>;
}

Required Methods§

Source

fn chain_args<I: Into<OsString>>( &self, args: impl IntoIterator<Item = I>, ) -> Vec<OsString>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T: AsRef<OsStr>> ChainArgs for [T]

Source§

fn chain_args<I: Into<OsString>>( &self, args: impl IntoIterator<Item = I>, ) -> Vec<OsString>

Source§

impl<T: AsRef<OsStr>> ChainArgs for Vec<T>

Source§

fn chain_args<I: Into<OsString>>( &self, args: impl IntoIterator<Item = I>, ) -> Vec<OsString>

Implementors§