Lines Matching refs:Result
67 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
99 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
250 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul()
329 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str()
358 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring()
401 pub fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_lowercase()
418 pub fn to_ascii_uppercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase()
444 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
475 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
778 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
830 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
873 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt()
927 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
939 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument