(&self, f: &mut fmt::Formatter<'_>)
| 156 | |
| 157 | impl fmt::Display for NameOrIdentity { |
| 158 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 159 | match self { |
| 160 | Self::Identity(addr) => f.write_str(addr.into_inner().to_hex().as_str()), |
| 161 | Self::Name(name) => f.write_str(name.as_ref()), |
| 162 | } |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | pub struct EmptyBody; |
nothing calls this directly
no test coverage detected