Trait shell_quote::QuoteExt

source ·
pub trait QuoteExt {
    // Required method
    fn push_quoted<'q, Q, S>(&mut self, _q: Q, s: S)
       where Q: QuoteInto<Self>,
             S: ?Sized + Into<Quotable<'q>>;
}
Expand description

Extension trait for pushing shell quoted byte slices, e.g. &[u8], &str – anything that’s Quotable – into container types like Vec<u8>, String, OsString on Unix, and bstr::BString if it’s enabled.

Required Methods§

source

fn push_quoted<'q, Q, S>(&mut self, _q: Q, s: S)
where Q: QuoteInto<Self>, S: ?Sized + Into<Quotable<'q>>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: ?Sized> QuoteExt for T