pub trait QuoteInto<OUT: ?Sized> {
// Required method
fn quote_into<'q, S: Into<Quotable<'q>>>(s: S, out: &mut OUT);
}Expand description
Quoting/escaping a string of bytes into a shell-safe form.
Required Methods§
Sourcefn quote_into<'q, S: Into<Quotable<'q>>>(s: S, out: &mut OUT)
fn quote_into<'q, S: Into<Quotable<'q>>>(s: S, out: &mut OUT)
Quote/escape a string of bytes into an existing container.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl QuoteInto<String> for Bash
impl QuoteInto<String> for Fish
impl QuoteInto<Vec<u8>> for Bash
impl QuoteInto<Vec<u8>> for Fish
impl QuoteInto<Vec<u8>> for Sh
impl QuoteInto<OsString> for Bash
Available on Unix only.
impl QuoteInto<OsString> for Fish
Available on Unix only.
impl QuoteInto<OsString> for Sh
Available on Unix only.
impl QuoteInto<BString> for Bash
Available on crate feature
bstr only.impl QuoteInto<BString> for Fish
Available on crate feature
bstr only.impl QuoteInto<BString> for Sh
Available on crate feature
bstr only.