pub trait IntoApiResult<T> {
// Required method
fn into_api_result<NewT, E>(self) -> Result<Option<NewT>, E>
where NewT: From<T>,
E: From<StorageError>;
}
pub trait IntoApiResult<T> {
// Required method
fn into_api_result<NewT, E>(self) -> Result<Option<NewT>, E>
where NewT: From<T>,
E: From<StorageError>;
}