A view as the handlers name it.
(name: &str)
| 64 | |
| 65 | /// A view as the handlers name it. |
| 66 | pub fn view_ref(name: &str) -> pb::ViewRef { |
| 67 | pb::ViewRef { |
| 68 | view_id: view_ref_id(name), |
| 69 | name: Some(name.to_string()), |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | /// `view`'s snapshot: its effective state (the fence) and its own Merkle |
| 74 | /// state (diagnostic). |