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

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

Something that can fetch the runtime :code.

Required methods

pub 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...