pub trait IntoApiResult<T> {
// Required method
fn into_api_result<NewT, E>(self) -> Result<Option<NewT>, E>
where NewT: From<T>,
E: From<StorageError>;
}
Required Methods§
fn into_api_result<NewT, E>(self) -> Result<Option<NewT>, E>
Object Safety§
This trait is not object safe.