Trait frame_support::dispatch::Encode [−][src]
pub trait Encode { pub fn size_hint(&self) -> usize { ... } pub fn encode_to<T>(&self, dest: &mut T)
where
T: Output + ?Sized, { ... } pub fn encode(&self) -> Vec<u8, Global>ⓘ { ... } pub fn using_encoded<R, F>(&self, f: F) -> R
where
F: FnOnce(&[u8]) -> R, { ... } pub fn encoded_size(&self) -> usize { ... } }
Trait that allows zero-copy write of value-references to slices in LE format.
Implementations should override using_encoded
for value types and encode_to
and size_hint
for allocating types.
Wrapper types should override all methods.
Provided methods
pub fn size_hint(&self) -> usize
[src]
If possible give a hint of expected size of the encoding.
This method is used inside default implementation of encode
to avoid re-allocations.
pub fn encode_to<T>(&self, dest: &mut T) where
T: Output + ?Sized,
[src]
T: Output + ?Sized,
Convert self to a slice and append it to the destination.
pub fn encode(&self) -> Vec<u8, Global>ⓘ
[src]
Convert self to an owned vector.
pub fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
pub fn encoded_size(&self) -> usize
[src]
Implementations on Foreign Types
impl Encode for WasmFieldName
[src]
impl Encode for WasmFieldName
[src]impl Encode for WasmValue
[src]
impl Encode for WasmValue
[src]impl Encode for WasmLevel
[src]
impl Encode for WasmLevel
[src]impl Encode for WasmEntryAttributes
[src]
impl Encode for WasmEntryAttributes
[src]impl Encode for WasmMetadata
[src]
impl Encode for WasmMetadata
[src]impl Encode for WasmFields
[src]
impl Encode for WasmFields
[src]impl Encode for WasmValuesSet
[src]
impl Encode for WasmValuesSet
[src]impl Encode for NonZeroU16
[src]
impl Encode for NonZeroU16
[src]impl<T> Encode for BTreeSet<T> where
T: Encode,
[src]
impl<T> Encode for BTreeSet<T> where
T: Encode,
[src]impl Encode for u32
[src]
impl Encode for u32
[src]impl Encode for NonZeroU64
[src]
impl Encode for NonZeroU64
[src]impl<T> Encode for LinkedList<T> where
T: Encode,
[src]
impl<T> Encode for LinkedList<T> where
T: Encode,
[src]impl Encode for NonZeroI64
[src]
impl Encode for NonZeroI64
[src]impl<T> Encode for VecDeque<T> where
T: Encode,
[src]
impl<T> Encode for VecDeque<T> where
T: Encode,
[src]impl Encode for NonZeroI16
[src]
impl Encode for NonZeroI16
[src]impl<T> Encode for Compact<T> where
CompactRef<'a, T>: for<'a> Encode,
[src]
impl<T> Encode for Compact<T> where
CompactRef<'a, T>: for<'a> Encode,
[src]impl<N0, O0, P0, Q0, R0> Encode for (N0, O0, P0, Q0, R0) where
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<N0, O0, P0, Q0, R0> Encode for (N0, O0, P0, Q0, R0) where
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for str
[src]
impl Encode for str
[src]impl<A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
B0: Encode,
G0: Encode,
A0: Encode,
C0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
B0: Encode,
G0: Encode,
A0: Encode,
C0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl<R0> Encode for (R0,) where
R0: Encode,
[src]
impl<R0> Encode for (R0,) where
R0: Encode,
[src]impl<Q0, R0> Encode for (Q0, R0) where
Q0: Encode,
R0: Encode,
[src]
impl<Q0, R0> Encode for (Q0, R0) where
Q0: Encode,
R0: Encode,
[src]impl Encode for u8
[src]
impl Encode for u8
[src]impl<D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for bool
[src]
impl Encode for bool
[src]impl<T> Encode for [T] where
T: Encode,
[src]
impl<T> Encode for [T] where
T: Encode,
[src]impl Encode for Duration
[src]
impl Encode for Duration
[src]impl Encode for i16
[src]
impl Encode for i16
[src]impl<F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl<L0, M0, N0, O0, P0, Q0, R0> Encode for (L0, M0, N0, O0, P0, Q0, R0) where
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<L0, M0, N0, O0, P0, Q0, R0> Encode for (L0, M0, N0, O0, P0, Q0, R0) where
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for u16
[src]
impl Encode for u16
[src]impl Encode for NonZeroI8
[src]
impl Encode for NonZeroI8
[src]impl<P0, Q0, R0> Encode for (P0, Q0, R0) where
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<P0, Q0, R0> Encode for (P0, Q0, R0) where
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl<I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for NonZeroI128
[src]
impl Encode for NonZeroI128
[src]impl<J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl<H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for NonZeroU32
[src]
impl Encode for NonZeroU32
[src]impl<M0, N0, O0, P0, Q0, R0> Encode for (M0, N0, O0, P0, Q0, R0) where
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<M0, N0, O0, P0, Q0, R0> Encode for (M0, N0, O0, P0, Q0, R0) where
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for u64
[src]
impl Encode for u64
[src]impl<O0, P0, Q0, R0> Encode for (O0, P0, Q0, R0) where
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<O0, P0, Q0, R0> Encode for (O0, P0, Q0, R0) where
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for OptionBool
[src]
impl Encode for OptionBool
[src]impl<T> Encode for BinaryHeap<T> where
T: Encode,
[src]
impl<T> Encode for BinaryHeap<T> where
T: Encode,
[src]impl<C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
C0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
C0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl<K, V> Encode for BTreeMap<K, V> where
K: Encode,
V: Encode,
[src]
impl<K, V> Encode for BTreeMap<K, V> where
K: Encode,
V: Encode,
[src]impl Encode for ()
[src]
impl Encode for ()
[src]impl<E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for i32
[src]
impl Encode for i32
[src]impl<K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (K0, L0, M0, N0, O0, P0, Q0, R0) where
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (K0, L0, M0, N0, O0, P0, Q0, R0) where
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for i128
[src]
impl Encode for i128
[src]impl<T> Encode for Option<T> where
T: Encode,
[src]
impl<T> Encode for Option<T> where
T: Encode,
[src]impl Encode for NonZeroU8
[src]
impl Encode for NonZeroU8
[src]impl Encode for NonZeroU128
[src]
impl Encode for NonZeroU128
[src]impl<T, const N: usize> Encode for [T; N] where
T: Encode,
[src]
impl<T, const N: usize> Encode for [T; N] where
T: Encode,
[src]impl<G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for u128
[src]
impl Encode for u128
[src]impl Encode for i8
[src]
impl Encode for i8
[src]impl<B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
B0: Encode,
G0: Encode,
C0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]
impl<B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Encode for (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
B0: Encode,
G0: Encode,
C0: Encode,
D0: Encode,
E0: Encode,
F0: Encode,
H0: Encode,
I0: Encode,
J0: Encode,
K0: Encode,
L0: Encode,
M0: Encode,
N0: Encode,
O0: Encode,
P0: Encode,
Q0: Encode,
R0: Encode,
[src]impl Encode for i64
[src]
impl Encode for i64
[src]impl Encode for NonZeroI32
[src]
impl Encode for NonZeroI32
[src]impl Encode for Duration
[src]
impl Encode for Duration
[src]impl Encode for DeriveJunction
[src]
impl Encode for DeriveJunction
[src]impl Encode for KeyTypeId
[src]
impl Encode for KeyTypeId
[src]impl Encode for AccountId32
[src]
impl Encode for AccountId32
[src]impl Encode for HostError
[src]
impl Encode for HostError
[src]impl Encode for Public
[src]
impl Encode for Public
[src]impl Encode for Signature
[src]
impl Encode for Signature
[src]impl Encode for CryptoTypeId
[src]
impl Encode for CryptoTypeId
[src]impl Encode for ExternEntity
[src]
impl Encode for ExternEntity
[src]impl Encode for StorageKind
[src]
impl Encode for StorageKind
[src]impl Encode for HttpError
[src]
impl Encode for HttpError
[src]impl Encode for EnvironmentDefinition
[src]
impl Encode for EnvironmentDefinition
[src]impl Encode for LogLevel
[src]
impl Encode for LogLevel
[src]impl Encode for HttpRequestStatus
[src]
impl Encode for HttpRequestStatus
[src]impl Encode for Signature
[src]
impl Encode for Signature
[src]impl Encode for CryptoTypePublicPair
[src]
impl Encode for CryptoTypePublicPair
[src]impl Encode for NeverNativeValue
[src]
impl Encode for NeverNativeValue
[src]impl Encode for OpaqueMetadata
[src]
impl Encode for OpaqueMetadata
[src]impl Encode for OpaquePeerId
[src]
impl Encode for OpaquePeerId
[src]impl Encode for OpaqueMultiaddr
[src]
impl Encode for OpaqueMultiaddr
[src]impl Encode for Timestamp
[src]
impl Encode for Timestamp
[src]impl Encode for LocalizedSignature
[src]
impl Encode for LocalizedSignature
[src]impl Encode for Entry
[src]
impl Encode for Entry
[src]impl Encode for ChangesTrieConfiguration
[src]
impl Encode for ChangesTrieConfiguration
[src]impl Encode for Signature
[src]
impl Encode for Signature
[src]impl Encode for Public
[src]
impl Encode for Public
[src]impl Encode for HttpRequestId
[src]
impl Encode for HttpRequestId
[src]impl Encode for OpaqueNetworkState
[src]
impl Encode for OpaqueNetworkState
[src]impl Encode for Public
[src]
impl Encode for Public
[src]impl Encode for ReturnValue
[src]
impl Encode for ReturnValue
[src]impl Encode for Value
[src]
impl Encode for Value
[src]impl Encode for TrackedStorageKey
[src]
impl Encode for TrackedStorageKey
[src]impl Encode for H256
[src]
impl Encode for H256
[src]impl Encode for U256
[src]
impl Encode for U256
[src]impl Encode for H160
[src]
impl Encode for H160
[src]impl Encode for U128
[src]
impl Encode for U128
[src]impl Encode for H512
[src]
impl Encode for H512
[src]impl Encode for H128
[src]
impl Encode for H128
[src]impl Encode for U512
[src]
impl Encode for U512
[src]impl Encode for StorageProof
[src]
impl Encode for StorageProof
[src]impl Encode for EcdsaVerifyError
[src]
impl Encode for EcdsaVerifyError
[src]impl<T> Encode for Crossing<T> where
T: Encode + Decode,
[src]
impl<T> Encode for Crossing<T> where
T: Encode + Decode,
[src]impl Encode for VRFTranscriptData
[src]
impl Encode for VRFTranscriptData
[src]impl Encode for VRFTranscriptValue
[src]
impl Encode for VRFTranscriptValue
[src]impl Encode for RuntimeMetadataV12
[src]
impl Encode for RuntimeMetadataV12
[src]impl Encode for RuntimeMetadataDeprecated
[src]
impl Encode for RuntimeMetadataDeprecated
[src]impl<Xt> Encode for Block<Xt> where
Vec<Xt, Global>: Encode,
[src]
impl<Xt> Encode for Block<Xt> where
Vec<Xt, Global>: Encode,
[src]impl<AccountId, AccountIndex> Encode for MultiAddress<AccountId, AccountIndex> where
AccountId: Encode,
AccountIndex: HasCompact,
[src]
impl<AccountId, AccountIndex> Encode for MultiAddress<AccountId, AccountIndex> where
AccountId: Encode,
AccountIndex: HasCompact,
[src]impl Encode for StoredMapError
[src]
impl Encode for StoredMapError
[src]impl Encode for MultiSignature
[src]
impl Encode for MultiSignature
[src]impl<Hashing> Encode for RandomNumberGenerator<Hashing> where
Hashing: Hash,
<Hashing as Hash>::Output: Encode,
[src]
impl<Hashing> Encode for RandomNumberGenerator<Hashing> where
Hashing: Hash,
<Hashing as Hash>::Output: Encode,
[src]impl Encode for AnySignature
[src]
impl Encode for AnySignature
[src]impl Encode for ModuleId
[src]
impl Encode for ModuleId
[src]impl<Call, Extra> Encode for SignedPayload<Call, Extra> where
Call: Encode,
Extra: SignedExtension,
[src]
impl<Call, Extra> Encode for SignedPayload<Call, Extra> where
Call: Encode,
Extra: SignedExtension,
[src]impl<Hash> Encode for DigestItem<Hash> where
Hash: Encode,
[src]
impl<Hash> Encode for DigestItem<Hash> where
Hash: Encode,
[src]impl Encode for TestSignature
[src]
impl Encode for TestSignature
[src]impl Encode for ChangesTrieSignal
[src]
impl Encode for ChangesTrieSignal
[src]impl Encode for BadOrigin
[src]
impl Encode for BadOrigin
[src]impl<Xt> Encode for ExtrinsicWrapper<Xt> where
Xt: Encode,
[src]
impl<Xt> Encode for ExtrinsicWrapper<Xt> where
Xt: Encode,
[src]impl<Call, Extra> Encode for TestXt<Call, Extra> where
Call: Encode,
Option<(u64, Extra)>: Encode,
[src]
impl<Call, Extra> Encode for TestXt<Call, Extra> where
Call: Encode,
Option<(u64, Extra)>: Encode,
[src]impl<B> Encode for BlockAndTimeDeadline<B> where
B: BlockNumberProvider,
<B as BlockNumberProvider>::BlockNumber: Encode,
[src]
impl<B> Encode for BlockAndTimeDeadline<B> where
B: BlockNumberProvider,
<B as BlockNumberProvider>::BlockNumber: Encode,
[src]impl<Info> Encode for DispatchErrorWithPostInfo<Info> where
Info: Eq + PartialEq<Info> + Clone + Copy + Encode + Decode + Printable,
[src]
impl<Info> Encode for DispatchErrorWithPostInfo<Info> where
Info: Eq + PartialEq<Info> + Clone + Copy + Encode + Decode + Printable,
[src]impl<Number, Hash> Encode for Header<Number, Hash> where
Hash: Hash,
Number: HasCompact + Copy + Into<U256> + TryFrom<U256>,
<Hash as Hash>::Output: Encode,
[src]
impl<Number, Hash> Encode for Header<Number, Hash> where
Hash: Hash,
Number: HasCompact + Copy + Into<U256> + TryFrom<U256>,
<Hash as Hash>::Output: Encode,
[src]impl Encode for LookupError
[src]
impl Encode for LookupError
[src]impl<Hash> Encode for Digest<Hash> where
Vec<DigestItem<Hash>, Global>: Encode,
[src]
impl<Hash> Encode for Digest<Hash> where
Vec<DigestItem<Hash>, Global>: Encode,
[src]impl Encode for MultiSigner
[src]
impl Encode for MultiSigner
[src]impl<Address, Call, Signature, Extra> Encode for UncheckedExtrinsic<Address, Call, Signature, Extra> where
Call: Encode,
Address: Encode,
Signature: Encode,
Extra: SignedExtension,
[src]
impl<Address, Call, Signature, Extra> Encode for UncheckedExtrinsic<Address, Call, Signature, Extra> where
Call: Encode,
Address: Encode,
Signature: Encode,
Extra: SignedExtension,
[src]impl Encode for RuntimeString
[src]
impl Encode for RuntimeString
[src]impl Encode for OpaqueExtrinsic
[src]
impl Encode for OpaqueExtrinsic
[src]impl Encode for UintAuthorityId
[src]
impl Encode for UintAuthorityId
[src]impl<'a, Hash> Encode for DigestItemRef<'a, Hash> where
Hash: Encode,
[src]
impl<'a, Hash> Encode for DigestItemRef<'a, Hash> where
Hash: Encode,
[src]impl Encode for Time
[src]
impl Encode for Time
[src]impl<Header, Extrinsic> Encode for Block<Header, Extrinsic> where
Extrinsic: MaybeSerialize,
Header: Encode,
Vec<Extrinsic, Global>: Encode,
[src]
impl<Header, Extrinsic> Encode for Block<Header, Extrinsic> where
Extrinsic: MaybeSerialize,
Header: Encode,
Vec<Extrinsic, Global>: Encode,
[src]impl<Block> Encode for SignedBlock<Block> where
Block: Encode,
[src]
impl<Block> Encode for SignedBlock<Block> where
Block: Encode,
[src]impl Encode for Public
[src]
impl Encode for Public
[src]impl Encode for Public
[src]
impl Encode for Public
[src]impl Encode for Signature
[src]
impl Encode for Signature
[src]impl Encode for Public
[src]
impl Encode for Public
[src]impl Encode for Signature
[src]
impl Encode for Signature
[src]impl Encode for Signature
[src]
impl Encode for Signature
[src]impl Encode for Perquintill
[src]
impl Encode for Perquintill
[src]impl Encode for FixedI128
[src]
impl Encode for FixedI128
[src]impl Encode for Perbill
[src]
impl Encode for Perbill
[src]impl Encode for PerU16
[src]
impl Encode for PerU16
[src]impl Encode for FixedI64
[src]
impl Encode for FixedI64
[src]impl Encode for FixedU128
[src]
impl Encode for FixedU128
[src]impl Encode for Permill
[src]
impl Encode for Permill
[src]impl Encode for Percent
[src]
impl Encode for Percent
[src]impl Encode for CheckInherentsResult
[src]
impl Encode for CheckInherentsResult
[src]impl Encode for Error
[src]
impl Encode for Error
[src]impl<E> Encode for MakeFatalError<E> where
E: Encode,
[src]
impl<E> Encode for MakeFatalError<E> where
E: Encode,
[src]impl<Reporter, Offender> Encode for OffenceDetails<Reporter, Offender> where
Offender: Encode,
Vec<Reporter, Global>: Encode,
[src]
impl<Reporter, Offender> Encode for OffenceDetails<Reporter, Offender> where
Offender: Encode,
Vec<Reporter, Global>: Encode,
[src]Implementors
impl Encode for Void
[src]
impl Encode for RuntimeMetadata
[src]
impl Encode for RuntimeMetadata
[src]impl Encode for StorageEntryModifier
[src]
impl Encode for StorageEntryModifier
[src]impl Encode for StorageEntryType
[src]
impl Encode for StorageEntryType
[src]impl Encode for StorageHasher
[src]
impl Encode for StorageHasher
[src]impl Encode for DispatchError
[src]
impl Encode for DispatchError
[src]impl Encode for InvalidTransaction
[src]
impl Encode for InvalidTransaction
[src]impl Encode for TransactionSource
[src]
impl Encode for TransactionSource
[src]impl Encode for TransactionValidityError
[src]
impl Encode for TransactionValidityError
[src]impl Encode for UnknownTransaction
[src]
impl Encode for UnknownTransaction
[src]impl Encode for BalanceStatus
[src]
impl Encode for BalanceStatus
[src]impl Encode for DispatchClass
[src]
impl Encode for DispatchClass
[src]impl Encode for EventMetadata
[src]
impl Encode for EventMetadata
[src]impl Encode for OuterEventMetadata
[src]
impl Encode for OuterEventMetadata
[src]impl Encode for DefaultByteGetter
[src]
impl Encode for DefaultByteGetter
[src]impl Encode for ExtrinsicMetadata
[src]
impl Encode for ExtrinsicMetadata
[src]impl Encode for ModuleMetadata
[src]
impl Encode for ModuleMetadata
[src]impl Encode for RuntimeMetadataPrefixed
[src]
impl Encode for RuntimeMetadataPrefixed
[src]impl Encode for StorageEntryMetadata
[src]
impl Encode for StorageEntryMetadata
[src]impl Encode for StorageMetadata
[src]
impl Encode for StorageMetadata
[src]impl Encode for InherentData
[src]
impl Encode for InherentData
[src]impl Encode for ValidTransaction
[src]
impl Encode for ValidTransaction
[src]impl Encode for PalletVersion
[src]
impl Encode for PalletVersion
[src]impl Encode for WithdrawReasons
[src]
impl Encode for WithdrawReasons
[src]impl Encode for DispatchInfo
[src]
impl Encode for DispatchInfo
[src]impl Encode for PostDispatchInfo
[src]
impl Encode for PostDispatchInfo
[src]impl Encode for RuntimeDbWeight
[src]
impl Encode for RuntimeDbWeight
[src]impl Encode for ErrorMetadata
[src]
impl Encode for ErrorMetadata
[src]impl Encode for FunctionArgumentMetadata
[src]
impl Encode for FunctionArgumentMetadata
[src]impl Encode for FunctionMetadata
[src]
impl Encode for FunctionMetadata
[src]impl Encode for ModuleConstantMetadata
[src]
impl Encode for ModuleConstantMetadata
[src]impl<B, O> Encode for DecodeDifferent<B, O> where
O: Encode + 'static,
B: Encode + 'static,
[src]
impl<B, O> Encode for DecodeDifferent<B, O> where
O: Encode + 'static,
B: Encode + 'static,
[src]impl<Balance> Encode for WeightToFeeCoefficient<Balance> where
Balance: Encode,
Balance: Encode,
[src]
impl<Balance> Encode for WeightToFeeCoefficient<Balance> where
Balance: Encode,
Balance: Encode,
[src]impl<BlockNumber> Encode for DispatchTime<BlockNumber> where
BlockNumber: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
[src]
impl<BlockNumber> Encode for DispatchTime<BlockNumber> where
BlockNumber: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
[src]impl<T> Encode for PhantomData<T>
[src]
impl<T> Encode for PhantomData<T>
[src]impl<T> Encode for PerDispatchClass<T> where
T: Encode,
T: Encode,
T: Encode,
T: Encode,
T: Encode,
T: Encode,
[src]
impl<T> Encode for PerDispatchClass<T> where
T: Encode,
T: Encode,
T: Encode,
T: Encode,
T: Encode,
T: Encode,
[src]impl<T, X> Encode for X where
T: Encode + ?Sized,
X: WrapperTypeEncode<Target = T>,
[src]
impl<T, X> Encode for X where
T: Encode + ?Sized,
X: WrapperTypeEncode<Target = T>,
[src]