Home
last modified time | relevance | path

Searched defs:QuoteError (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/shlex/src/
Dlib.rs111 pub enum QuoteError { enum
119 impl core::fmt::Display for QuoteError { implementation
128 impl std::error::Error for QuoteError {} implementation
156 … pub fn join<'a, I: IntoIterator<Item = &'a str>>(&self, words: I) -> Result<String, QuoteError> { in join() argument
163 pub fn quote<'a>(&self, in_str: &'a str) -> Result<Cow<'a, str>, QuoteError> { in quote() argument
213 pub fn try_join<'a, I: IntoIterator<Item = &'a str>>(words: I) -> Result<String, QuoteError> { in try_join() argument
241 pub fn try_quote(in_str: &str) -> Result<Cow<str>, QuoteError> { in try_quote() argument
Dbytes.rs193 …pub fn join<'a, I: IntoIterator<Item = &'a [u8]>>(&self, words: I) -> Result<Vec<u8>, QuoteError> { in join() argument
206 pub fn quote<'a>(&self, mut in_bytes: &'a [u8]) -> Result<Cow<'a, [u8]>, QuoteError> { in quote() argument
469 pub fn try_join<'a, I: IntoIterator<Item = &'a [u8]>>(words: I) -> Result<Vec<u8>, QuoteError> { in try_join() argument
497 pub fn try_quote(in_bytes: &[u8]) -> Result<Cow<[u8]>, QuoteError> { in try_quote() argument