pub trait FetchRuntimeCode {
// Required method
fn fetch_runtime_code<'a>(&'a self) -> Option<Cow<'a, [u8]>>;
}Expand description
Something that can fetch the runtime :code.
Required Methods§
Sourcefn fetch_runtime_code<'a>(&'a self) -> Option<Cow<'a, [u8]>>
fn fetch_runtime_code<'a>(&'a self) -> Option<Cow<'a, [u8]>>
Fetch the runtime :code.
If the :code could not be found/not available, None should be returned.