core_crypto_keystore::entities

Trait EntityIdStringExt

Source
pub trait EntityIdStringExt: Entity {
    // Provided methods
    fn id_hex(&self) -> String { ... }
    fn id_sha256(&self) -> String { ... }
    fn id_from_hex(id_hex: &str) -> CryptoKeystoreResult<Vec<u8>> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§