(&self, f: &mut fmt::Formatter<'_>)
| 248 | |
| 249 | impl fmt::Display for RemoteState { |
| 250 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 251 | write!( |
| 252 | f, |
| 253 | "RemoteState({}, {} entries, last={})", |
| 254 | if self.remote_name.is_empty() { |
| 255 | "<unnamed>" |
| 256 | } else { |
| 257 | &self.remote_name |
| 258 | }, |
| 259 | self.entries.len(), |
| 260 | self.last_sequence |
| 261 | .map(|s| s.to_string()) |
| 262 | .unwrap_or_else(|| "none".to_string()), |
| 263 | ) |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | // Remote Delta |
nothing calls this directly
no outgoing calls
no test coverage detected