Caller

Trait Caller 

Source
pub trait Caller<'a>: Sized {
    // Required method
    fn into_callers(self) -> impl Iterator<Item = &'a str>;
}
Expand description

A list of names to call a command with

Required Methods§

Source

fn into_callers(self) -> impl Iterator<Item = &'a str>

An Iterator over said callers

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<'a> Caller<'a> for &'a str

Source§

fn into_callers(self) -> impl Iterator<Item = &'a str>

Source§

impl<'a> Caller<'a> for &'a [&'a str]

Source§

fn into_callers(self) -> impl Iterator<Item = &'a str>

Source§

impl<'a, const N: usize> Caller<'a> for [&'a str; N]

Source§

fn into_callers(self) -> impl Iterator<Item = &'a str>

Implementors§