Enum frame_metadata::RuntimeMetadata[][src]

pub enum RuntimeMetadata {
Show 15 variants V0(RuntimeMetadataDeprecated), V1(RuntimeMetadataDeprecated), V2(RuntimeMetadataDeprecated), V3(RuntimeMetadataDeprecated), V4(RuntimeMetadataDeprecated), V5(RuntimeMetadataDeprecated), V6(RuntimeMetadataDeprecated), V7(RuntimeMetadataDeprecated), V8(OpaqueMetadata), V9(OpaqueMetadata), V10(OpaqueMetadata), V11(OpaqueMetadata), V12(OpaqueMetadata), V13(OpaqueMetadata), V14(RuntimeMetadataV14),
}
Expand description

The metadata of a runtime. The version ID encoded/decoded through the enum nature of RuntimeMetadata.

Variants

V0(RuntimeMetadataDeprecated)

Unused; enum filler.

Tuple Fields of V0

0: RuntimeMetadataDeprecated
V1(RuntimeMetadataDeprecated)

Version 1 for runtime metadata. No longer used.

Tuple Fields of V1

0: RuntimeMetadataDeprecated
V2(RuntimeMetadataDeprecated)

Version 2 for runtime metadata. No longer used.

Tuple Fields of V2

0: RuntimeMetadataDeprecated
V3(RuntimeMetadataDeprecated)

Version 3 for runtime metadata. No longer used.

Tuple Fields of V3

0: RuntimeMetadataDeprecated
V4(RuntimeMetadataDeprecated)

Version 4 for runtime metadata. No longer used.

Tuple Fields of V4

0: RuntimeMetadataDeprecated
V5(RuntimeMetadataDeprecated)

Version 5 for runtime metadata. No longer used.

Tuple Fields of V5

0: RuntimeMetadataDeprecated
V6(RuntimeMetadataDeprecated)

Version 6 for runtime metadata. No longer used.

Tuple Fields of V6

0: RuntimeMetadataDeprecated
V7(RuntimeMetadataDeprecated)

Version 7 for runtime metadata. No longer used.

Tuple Fields of V7

0: RuntimeMetadataDeprecated
V8(OpaqueMetadata)

Version 8 for runtime metadata, as raw encoded bytes.

Tuple Fields of V8

0: OpaqueMetadata
V9(OpaqueMetadata)

Version 9 for runtime metadata, as raw encoded bytes.

Tuple Fields of V9

0: OpaqueMetadata
V10(OpaqueMetadata)

Version 10 for runtime metadata, as raw encoded bytes.

Tuple Fields of V10

0: OpaqueMetadata
V11(OpaqueMetadata)

Version 11 for runtime metadata, as raw encoded bytes.

Tuple Fields of V11

0: OpaqueMetadata
V12(OpaqueMetadata)

Version 12 for runtime metadata, as raw encoded bytes.

Tuple Fields of V12

0: OpaqueMetadata
V13(OpaqueMetadata)

Version 13 for runtime metadata, as raw encoded bytes.

Tuple Fields of V13

0: OpaqueMetadata
V14(RuntimeMetadataV14)

Version 14 for runtime metadata.

Tuple Fields of V14

0: RuntimeMetadataV14

Implementations

Get the version number of the metadata.

Trait Implementations

Formats the value using the given formatter. Read more

Attempt to deserialise the value from input.

Attempt to skip the encoded value from input. Read more

Returns the fixed encoded size of the type. Read more

Convert self to a slice and append it to the destination.

If possible give a hint of expected size of the encoding. Read more

Convert self to an owned vector.

Convert self to a slice and then invoke the given closure with it.

Calculates the encoded size. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Converts self into a target type. Read more

Decode Self and consume all of the given input data. Read more

Decode Self and consume all of the given input data. Read more

Decode Self and advance input by the number of bytes consumed. Read more

Decode Self with the given maximum recursion depth. Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Performs the conversion.

Return an encoding of Self prepended by given slice.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Pipes a value into a function that cannot ordinarily be called in suffix position. Read more

Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more

Pipes a trait mutable borrow into a function that cannot normally be called in suffix position. Read more

Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more

Pipes a trait mutable borrow into a function that cannot normally be called in suffix position. Read more

Pipes a dereference into a function that cannot normally be called in suffix position. Read more

Pipes a mutable dereference into a function that cannot normally be called in suffix position. Read more

Pipes a reference into a function that cannot ordinarily be called in suffix position. Read more

Pipes a mutable reference into a function that cannot ordinarily be called in suffix position. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

Provides immutable access for inspection. Read more

Calls tap in debug builds, and does nothing in release builds.

Provides mutable access for modification. Read more

Calls tap_mut in debug builds, and does nothing in release builds.

Provides immutable access to the reference for inspection.

Calls tap_ref in debug builds, and does nothing in release builds.

Provides mutable access to the reference for modification.

Calls tap_ref_mut in debug builds, and does nothing in release builds.

Provides immutable access to the borrow for inspection. Read more

Calls tap_borrow in debug builds, and does nothing in release builds.

Provides mutable access to the borrow for modification.

Calls tap_borrow_mut in debug builds, and does nothing in release builds. Read more

Immutably dereferences self for inspection.

Calls tap_deref in debug builds, and does nothing in release builds.

Mutably dereferences self for modification.

Calls tap_deref_mut in debug builds, and does nothing in release builds. Read more

Attempts to convert self into T using TryInto<T>. Read more

Attempts to convert self into a target type. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.