Lines Matching defs:fmt
1 use std::fmt;
45 impl fmt::Display for Error {
46 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
50 &Boxed(ref err) => err.fmt(f),
51 &Value(ref err) => err.fmt(f),
52 &Msg(ref msg) => msg.fmt(f),
53 &Fmt => fmt::Error.fmt(f),
58 impl From<fmt::Error> for Error {
59 fn from(_: fmt::Error) -> Self {