Function try_quote
pub fn try_quote(in_bytes: &[u8]) -> Result<Cow<'_, [u8]>, QuoteError>
Given a single word, return a string suitable to encode it as a shell argument.
Uses default settings. The only error that can be returned is QuoteError::Nul.
Equivalent to Quoter::new().quote(in_bytes).
The string equivalent is [shlex::try_quote].