Trait ResolvableSubstateKey

Source
pub trait ResolvableSubstateKey<'a>: Sized {
    // Required method
    fn into_substate_key_or_ref(self) -> SubstateKeyOrRef<'a>;

    // Provided method
    fn into_substate_key(self) -> SubstateKey { ... }
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<'a> ResolvableSubstateKey<'a> for &'a ([u8; 2], Vec<u8>)

Source§

impl<'a> ResolvableSubstateKey<'a> for &'a u8

Source§

impl<'a> ResolvableSubstateKey<'a> for ([u8; 2], Vec<u8>)

Source§

impl<'a> ResolvableSubstateKey<'a> for u8

Implementors§