pub trait GetWithArg<Arg> {
    type Result;

    // Required method
    fn get(arg: &Arg) -> Self::Result;
}
Expand description

A trait similar in functionality to the [frame_support::traits::Get], but with an input argument and an associated return type.

Required Associated Types§

Required Methods§

source

fn get(arg: &Arg) -> Self::Result

Implementors§

source§

impl<Runtime> GetWithArg<u32> for RelayStateRootsViaRelayStorePallet<Runtime>where Runtime: Config,

§

type Result = Option<H256>