Trait gear_common::storage::Callback
source · pub trait Callback<T, R = ()> {
// Required method
fn call(arg: &T) -> R;
}
Expand description
Represents callback action for cases (&T) -> R
,
where R
is ()
by default.
Required Methods§
Object Safety§
This trait is not object safe.