Skip to main content

QuoteInto

Trait QuoteInto 

Source
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§

Source

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§

Source§

impl QuoteInto<String> for Bash

Source§

impl QuoteInto<String> for Fish

Source§

impl QuoteInto<Vec<u8>> for Bash

Source§

impl QuoteInto<Vec<u8>> for Fish

Source§

impl QuoteInto<Vec<u8>> for Sh

Source§

impl QuoteInto<OsString> for Bash

Available on Unix only.
Source§

impl QuoteInto<OsString> for Fish

Available on Unix only.
Source§

impl QuoteInto<OsString> for Sh

Available on Unix only.
Source§

impl QuoteInto<BString> for Bash

Available on crate feature bstr only.
Source§

impl QuoteInto<BString> for Fish

Available on crate feature bstr only.
Source§

impl QuoteInto<BString> for Sh

Available on crate feature bstr only.