Lines Matching refs:Result
50 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
81 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
203 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul()
281 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str()
309 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring()
352 pub fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_lowercase()
369 pub fn to_ascii_uppercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase()
394 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
424 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
704 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
756 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
798 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt()
852 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
865 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument