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