pub trait BackendAllocSyscallError: Sized {
    type ExtError: BackendSyscallError;

    // Required method
    fn into_backend_error(self) -> Result<Self::ExtError, Self>;
}
Expand description

A trait for conversion of the externalities memory management error to api error.

If the conversion fails, then Self is returned in the Err variant.

Required Associated Types§

Required Methods§

source

fn into_backend_error(self) -> Result<Self::ExtError, Self>

Object Safety§

This trait is not object safe.

Implementors§