pub trait NodeIdExt {
// Required methods
fn to_z32(&self) -> String;
fn from_z32(s: &str) -> Result<NodeId>;
}
Expand description
Extension methods for NodeId
to encode to and decode from [z32
],
which is the encoding used in [pkarr
] domain names.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.