pub fn deserialize_id<'de, D>(deserializer: D) -> Result<Arc<str>, D::Error>where
D: Deserializer<'de>,
Expand description
Deserialise, from a String, an Arc<str>
that is guaranteed to be a valid Zenoh-Flow NodeId or
PortId.
ยงErrors
The deserialisation will fail if:
- the String is empty,
- the String contains any of the symbols: * # $ ? >
- the String is not a valid Zenoh key expression in its canonical form (see autocanonize).