Skip to main content

HookCommandExt

Trait HookCommandExt 

Source
pub trait HookCommandExt {
    // Required method
    fn env<K, V>(&mut self, key: K, value: V) -> &mut Self
       where K: AsRef<OsStr>,
             V: AsRef<OsStr>;
}

Required Methods§

Source

fn env<K, V>(&mut self, key: K, value: V) -> &mut Self
where K: AsRef<OsStr>, V: AsRef<OsStr>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl HookCommandExt for Command

Source§

fn env<K, V>(&mut self, key: K, value: V) -> &mut Self
where K: AsRef<OsStr>, V: AsRef<OsStr>,

Implementors§