pub trait GetWithoutArg {
    type Result;

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

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

Required Associated Types§

Required Methods§

source

fn get() -> Self::Result

Implementations on Foreign Types§

source§

impl GetWithoutArg for ()

§

type Result = ()

source§

fn get() -> Self::Result

Implementors§