[−][src]Trait sp_runtime_interface::pass_by::PassByInner
Trait that needs to be implemented by a type that should be passed between wasm and the host,
by using the inner type. See Inner for more information.
Associated Types
Required methods
fn into_inner(self) -> Self::Inner[−]
Consumes self and returns the inner type.
fn inner(&self) -> &Self::Inner[−]
Returns the reference to the inner type.
fn from_inner(inner: Self::Inner) -> Self[−]
Construct Self from the given inner.
Implementations on Foreign Types
impl PassByInner for H160[src][−]
type Inner = [u8; 20]
fn inner(&self) -> &Self::Inner[src]
fn into_inner(self) -> Self::Inner[src]
fn from_inner(inner: Self::Inner) -> Self[src]
impl PassByInner for H256[src][−]
type Inner = [u8; 32]
fn inner(&self) -> &Self::Inner[src]
fn into_inner(self) -> Self::Inner[src]
fn from_inner(inner: Self::Inner) -> Self[src]
impl PassByInner for H512[src][−]
type Inner = [u8; 64]
fn inner(&self) -> &Self::Inner[src]
fn into_inner(self) -> Self::Inner[src]
fn from_inner(inner: Self::Inner) -> Self[src]
Implementors
impl PassByInner for KeyTypeId
impl PassByInner for KeyTypeIdimpl PassByInner for Public
impl PassByInner for Publicimpl PassByInner for Signature
impl PassByInner for Signatureimpl PassByInner for Public
impl PassByInner for Publicimpl PassByInner for Signature
impl PassByInner for Signatureimpl PassByInner for Public
impl PassByInner for Publicimpl PassByInner for Signature
impl PassByInner for Signatureimpl PassByInner for HttpRequestId
impl PassByInner for HttpRequestIdimpl PassByInner for OpaquePeerId
impl PassByInner for OpaquePeerIdimpl PassByInner for OpaqueMultiaddr
impl PassByInner for OpaqueMultiaddrimpl PassByInner for Timestamp
impl PassByInner for Timestampimpl PassByInner for Duration
impl PassByInner for Duration