Skip to main content

PeerId

Trait PeerId 

Source
pub trait PeerId:
    Clone
    + Eq
    + Ord
    + Hash
    + Debug
    + Display
    + Send
    + Sync
    + 'static { }
Expand description

A peer’s identity: any small, comparable, printable id.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Clone + Eq + Ord + Hash + Debug + Display + Send + Sync + 'static> PeerId for T