[][src]Struct substrate_primitives::OpaqueMetadata

pub struct OpaqueMetadata(_);

Stores the encoded RuntimeMetadata for the native side as opaque type.

Methods

impl OpaqueMetadata[src]

pub fn new(metadata: Vec<u8>) -> Self[src]

Creates a new instance with the given metadata blob.

Trait Implementations

impl PartialEq<OpaqueMetadata> for OpaqueMetadata[src]

impl From<OpaqueMetadata> for Bytes[src]

impl Deref for OpaqueMetadata[src]

type Target = Vec<u8>

The resulting type after dereferencing.

impl Encode for OpaqueMetadata[src]

impl Decode for OpaqueMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<S> Codec for S where
    S: Encode + Decode
[src]

impl<T> KeyedVec for T where
    T: Codec
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self