• Home
  • Raw
  • Download

Lines Matching full:fmt

4 impl Error for fmt::Error {
6 fmt::Error in custom()
13 fn $f(self, v: $t) -> fmt::Result {
14 Display::fmt(&v, self)
22 /// use std::fmt::{self, Display};
32 /// fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
37 impl<'a, 'b> Serializer for &'a mut fmt::Formatter<'b> {
39 type Error = fmt::Error;
40 type SerializeSeq = Impossible<(), fmt::Error>;
41 type SerializeTuple = Impossible<(), fmt::Error>;
42 type SerializeTupleStruct = Impossible<(), fmt::Error>;
43 type SerializeTupleVariant = Impossible<(), fmt::Error>;
44 type SerializeMap = Impossible<(), fmt::Error>;
45 type SerializeStruct = Impossible<(), fmt::Error>;
46 type SerializeStructVariant = Impossible<(), fmt::Error>;
77 ) -> fmt::Result { in serialize_unit_variant()
78 Display::fmt(variant, self) in serialize_unit_variant()
81 fn serialize_newtype_struct<T: ?Sized>(self, _name: &'static str, value: &T) -> fmt::Result in serialize_newtype_struct()
88 fn serialize_bytes(self, _v: &[u8]) -> fmt::Result { in serialize_bytes()
89 Err(fmt::Error) in serialize_bytes()
92 fn serialize_none(self) -> fmt::Result { in serialize_none()
93 Err(fmt::Error) in serialize_none()
96 fn serialize_some<T: ?Sized>(self, _value: &T) -> fmt::Result in serialize_some()
100 Err(fmt::Error) in serialize_some()
103 fn serialize_unit(self) -> fmt::Result { in serialize_unit()
104 Err(fmt::Error) in serialize_unit()
113 ) -> fmt::Result in serialize_newtype_variant()
117 Err(fmt::Error) in serialize_newtype_variant()
120 fn serialize_seq(self, _len: Option<usize>) -> Result<Self::SerializeSeq, fmt::Error> { in serialize_seq()
121 Err(fmt::Error) in serialize_seq()
124 fn serialize_tuple(self, _len: usize) -> Result<Self::SerializeTuple, fmt::Error> { in serialize_tuple()
125 Err(fmt::Error) in serialize_tuple()
132 ) -> Result<Self::SerializeTupleStruct, fmt::Error> { in serialize_tuple_struct()
133 Err(fmt::Error) in serialize_tuple_struct()
142 ) -> Result<Self::SerializeTupleVariant, fmt::Error> { in serialize_tuple_variant()
143 Err(fmt::Error) in serialize_tuple_variant()
146 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap, fmt::Error> { in serialize_map()
147 Err(fmt::Error) in serialize_map()
154 ) -> Result<Self::SerializeStruct, fmt::Error> { in serialize_struct()
155 Err(fmt::Error) in serialize_struct()
164 ) -> Result<Self::SerializeStructVariant, fmt::Error> { in serialize_struct_variant()
165 Err(fmt::Error) in serialize_struct_variant()
168 fn collect_str<T: ?Sized>(self, value: &T) -> fmt::Result in collect_str()
172 Display::fmt(value, self) in collect_str()