Skip to main content

ComputeNodeIds

Trait ComputeNodeIds 

Source
pub trait ComputeNodeIds {
    // Required method
    fn compute_node_ids(&self) -> (NodeIdFull, NodeIdShort);
}
Expand description

Abstract trait to compute all node ids

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ComputeNodeIds for PublicKey

Source§

impl ComputeNodeIds for SecretKey

Implementors§