pub trait AsPrefix { // Required method fn as_prefix(&self) -> Prefix<&str>; }
Automatic trait for IsPrefix, providing cheap conversion to Prefix.
IsPrefix
Prefix
Extract an Prefix wrapping the underlying str.
str