Whether this asks for all views (empty `refs`).
(&self)
| 246 | |
| 247 | /// Whether this asks for all views (empty `refs`). |
| 248 | pub fn wants_all(&self) -> bool { |
| 249 | self.refs.is_empty() |
| 250 | } |
| 251 | |
| 252 | /// Encode to a compressed wire body. See [`encode`]. |
| 253 | pub fn encode(&self) -> Result<Vec<u8>, SyncError> { |