Trait sp_core::traits::FetchRuntimeCode[][src]

pub trait FetchRuntimeCode {
    fn fetch_runtime_code<'a>(&'a self) -> Option<Cow<'a, [u8]>>;
}

Something that can fetch the runtime :code.

Required methods

fn fetch_runtime_code<'a>(&'a self) -> Option<Cow<'a, [u8]>>[src]

Fetch the runtime :code.

If the :code could not be found/not available, None should be returned.

Loading content...

Implementors

impl FetchRuntimeCode for NoneFetchRuntimeCode[src]

impl<'a> FetchRuntimeCode for RuntimeCode<'a>[src]

impl<'a> FetchRuntimeCode for WrappedRuntimeCode<'a>[src]

Loading content...