pub fn node_id(&self) -> node::Id {
        #[allow(unreachable_patterns)]
        match &self.public_key() {
            PublicKey::Ed25519(pubkey) => node::Id::from(*pubkey),
            _ => unreachable!(),
        }
    }
/// Get node ID for this keypair
Get node ID for this keypair
Get node ID for this keypair
pub fn node_id(&self) -> node::Id {
        #[allow(unreachable_patterns)]
        match &self.public_key() {
            PublicKey::Ed25519(pubkey) => node::Id::from(*pubkey),
            _ => unreachable!(),
        }
    }
pub fn node_id ( & self ) -> node :: Id { # [ allow ( unreachable_patterns ) ] match & self . public_key ( ) { PublicKey :: Ed25519 ( pubkey ) => node :: Id :: from ( * pubkey ) , _ => unreachable ! ( ) , } }
Get node ID for this keypair
Get node ID for this keypair
&self