FetchRuntimeCode

Trait FetchRuntimeCode 

Source
pub trait FetchRuntimeCode {
    // Required method
    fn fetch_runtime_code(&self) -> Option<Cow<'_, [u8]>>;
}
Available on crate feature std only.
Expand description

Something that can fetch the runtime :code.

Required Methods§

Source

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

Fetch the runtime :code.

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

Implementations on Foreign Types§

Source§

impl<'a, B, H> FetchRuntimeCode for BackendRuntimeCode<'a, B, H>
where B: Backend<H>, H: Hasher,

Implementors§