Skip to main content

EntryId

Trait EntryId 

Source
pub trait EntryId:
    Deref<Target = Hash>
    + Copy
    + Eq {
    type Entry: DatabaseEntry;

    // Provided method
    fn as_bytes(&self) -> &[u8; 32] { ... }
}

Required Associated Types§

Provided Methods§

Source

fn as_bytes(&self) -> &[u8; 32]

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§