Enum frame_metadata::RuntimeMetadata [−][src]
pub enum RuntimeMetadata {}Show variants
V0(RuntimeMetadataDeprecated), V1(RuntimeMetadataDeprecated), V2(RuntimeMetadataDeprecated), V3(RuntimeMetadataDeprecated), V4(RuntimeMetadataDeprecated), V5(RuntimeMetadataDeprecated), V6(RuntimeMetadataDeprecated), V7(RuntimeMetadataDeprecated), V8(RuntimeMetadataDeprecated), V9(RuntimeMetadataDeprecated), V10(RuntimeMetadataDeprecated), V11(RuntimeMetadataDeprecated), V12(RuntimeMetadataV12),
The metadata of a runtime.
The version ID encoded/decoded through
the enum nature of RuntimeMetadata
.
Variants
Unused; enum filler.
Version 1 for runtime metadata. No longer used.
Version 2 for runtime metadata. No longer used.
Version 3 for runtime metadata. No longer used.
Version 4 for runtime metadata. No longer used.
Version 5 for runtime metadata. No longer used.
Version 6 for runtime metadata. No longer used.
Version 7 for runtime metadata. No longer used.
Version 8 for runtime metadata. No longer used.
Version 9 for runtime metadata. No longer used.
Version 10 for runtime metadata. No longer used.
Version 11 for runtime metadata. No longer used.
V12(RuntimeMetadataV12)
Version 12 for runtime metadata.
Trait Implementations
impl Decode for RuntimeMetadata
[src]
impl Decode for RuntimeMetadata
[src]impl Encode for RuntimeMetadata
[src]
impl Encode for RuntimeMetadata
[src]fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
pub fn size_hint(&self) -> usize
[src]
pub fn encode(&self) -> Vec<u8, Global>
[src]
pub fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
pub fn encoded_size(&self) -> usize
[src]
impl PartialEq<RuntimeMetadata> for RuntimeMetadata
[src]
impl PartialEq<RuntimeMetadata> for RuntimeMetadata
[src]fn eq(&self, other: &RuntimeMetadata) -> bool
[src]
fn ne(&self, other: &RuntimeMetadata) -> bool
[src]
impl Serialize for RuntimeMetadata
[src]
impl Serialize for RuntimeMetadata
[src]impl EncodeLike<RuntimeMetadata> for RuntimeMetadata
[src]
impl Eq for RuntimeMetadata
[src]
impl StructuralEq for RuntimeMetadata
[src]
impl StructuralPartialEq for RuntimeMetadata
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RuntimeMetadata
impl Send for RuntimeMetadata
impl Sync for RuntimeMetadata
impl Unpin for RuntimeMetadata
impl !UnwindSafe for RuntimeMetadata
Blanket Implementations
impl<T> DecodeLimit for T where
T: Decode,
[src]
impl<T> DecodeLimit for T where
T: Decode,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(self) -> T
[src]
impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<S> FullCodec for S where
S: Decode + FullEncode,
[src]
S: Decode + FullEncode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,