Values

Trait Values 

Source
pub trait Values<O> {
    type Err: Into<Error>;

    // Required method
    fn get_values(&self, opt: &O) -> Result<Vec<OsString>, Self::Err>;
}

Required Associated Types§

Required Methods§

Source

fn get_values(&self, opt: &O) -> Result<Vec<OsString>, Self::Err>

Implementations on Foreign Types§

Source§

impl<O> Values<O> for Vec<&str>

Source§

type Err = Error

Source§

fn get_values(&self, opt: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for Vec<&OsStr>

Source§

type Err = Error

Source§

fn get_values(&self, opt: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for Vec<String>

Source§

type Err = Error

Source§

fn get_values(&self, opt: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for Vec<OsString>

Source§

type Err = Error

Source§

fn get_values(&self, opt: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for [&str]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for [&OsStr]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for [String]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<O> Values<O> for [OsString]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<const N: usize, O> Values<O> for [&str; N]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<const N: usize, O> Values<O> for [&OsStr; N]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<const N: usize, O> Values<O> for [String; N]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Source§

impl<const N: usize, O> Values<O> for [OsString; N]

Source§

type Err = Error

Source§

fn get_values(&self, _: &O) -> Result<Vec<OsString>, Self::Err>

Implementors§

Source§

impl<O> Values<O> for OnceValues<O>

Source§

impl<O> Values<O> for RepeatValues<O>

Source§

impl<O, T: Values<O>> Values<O> for Adapter<T>