Struct libp2p_rendezvous::Namespace [−][src]
pub struct Namespace(_);
Implementations
Creates a new Namespace
from a static string.
This will panic if the namespace is too long. We accepting panicking in this case because we are enforcing a `static lifetime which means this value can only be a constant in the program and hence we hope the developer checked that it is of an acceptable length.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Namespace
impl UnwindSafe for Namespace
Blanket Implementations
Mutably borrows from an owned value. Read more