Override the wire version on an otherwise-fresh NodeInfo. Builder-style so call sites read as `NodeInfo::new(id, addr, state).with_wire_version(remote_v)`.
(mut self, wire_version: u16)
| 150 | /// Builder-style so call sites read as |
| 151 | /// `NodeInfo::new(id, addr, state).with_wire_version(remote_v)`. |
| 152 | pub fn with_wire_version(mut self, wire_version: u16) -> Self { |
| 153 | self.wire_version = wire_version; |
| 154 | self |
| 155 | } |
| 156 | |
| 157 | /// Set the SPIFFE URI SAN for this node. Builder-style. |
| 158 | pub fn with_spiffe_id(mut self, spiffe_id: Option<String>) -> Self { |
no outgoing calls
no test coverage detected