Skip to main content

NodeCommandExt

Trait NodeCommandExt 

Source
pub(crate) trait NodeCommandExt {
    // Required method
    fn peer_id(&self) -> PeerId;
}

Required Methods§

Source

fn peer_id(&self) -> PeerId

Derive the peer id from the p2p secret key without starting the network.

Implementations on Foreign Types§

Source§

impl NodeCommandExt for NodeCommand<TempoChainSpecParser, TempoArgs>

Source§

fn peer_id(&self) -> PeerId

Implementors§