Trait shell_quote::Quote

source ·
pub trait Quote<OUT: Default>: QuoteInto<OUT> {
    // Provided method
    fn quote<'q, S: ?Sized + 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: ?Sized + Into<Quotable<'q>>>(s: S) -> OUT

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

Object Safety§

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.