Quote

Trait Quote 

Source
pub trait Quote<OUT: Default>: QuoteInto<OUT> {
    // Provided method
    fn quote<'q, S: Into<Quotable<'q>>>(s: S) -> OUT { ... }
}
Expand description

Quoting/escaping a string of bytes into a shell-safe form.

Provided Methods§

Source

fn quote<'q, S: Into<Quotable<'q>>>(s: S) -> OUT

Quote/escape a string of bytes into a new container.

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.

Implementors§

Source§

impl<T: QuoteInto<OUT>, OUT: Default> Quote<OUT> for T

Blanket Quote impl for anything that has a QuoteInto impl.