Lines Matching defs:fmt
8 use core::{fmt, result};
39 impl fmt::Display for Errno {
40 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
43 std::io::Error::from(*self).fmt(fmt)
47 write!(fmt, "os error {}", self.raw_os_error())
52 impl fmt::Debug for Errno {
53 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
56 std::io::Error::from(*self).fmt(fmt)
60 write!(fmt, "os error {}", self.raw_os_error())