Trait sp_core::traits::FetchRuntimeCode [−][src]
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.
Implementors
impl FetchRuntimeCode for NoneFetchRuntimeCode
[src][+]
impl<'a> FetchRuntimeCode for RuntimeCode<'a>
[src][+]
impl<'a> FetchRuntimeCode for WrappedRuntimeCode<'a>
[src][+]
impl<'a, B: Backend<H>, H: Hasher> FetchRuntimeCode for BackendRuntimeCode<'a, B, H>
impl<'a, B: Backend<H>, H: Hasher> FetchRuntimeCode for BackendRuntimeCode<'a, B, H>