Trait gclient::ext::sp_runtime::codec::Encode

pub trait Encode {
    // Provided methods
    fn size_hint(&self) -> usize { ... }
    fn encode_to<T>(&self, dest: &mut T)
       where T: Output + ?Sized { ... }
    fn encode(&self) -> Vec<u8>  { ... }
    fn using_encoded<R, F>(&self, f: F) -> R
       where F: FnOnce(&[u8]) -> R { ... }
    fn encoded_size(&self) -> usize { ... }
}
Expand description

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§

fn size_hint(&self) -> usize

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

This method is used inside default implementation of encode to avoid re-allocations.

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

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

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

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

fn encoded_size(&self) -> usize

Calculates the encoded size.

Should be used when the encoded data isn’t required.

§Note

This works by using a special Output that only tracks the size. So, there are no allocations inside the output. However, this can not prevent allocations that some types are doing inside their own encoding.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Encode for CounterType

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for MessageDetails

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for DispatchKind

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for MessageWaitedType

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ProgramState

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for GasReservationState

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ExtError

source§

fn encode(&self) -> Vec<u8>

source§

impl Encode for ErrorReplyReason

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ReplyCode

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for SignalCode

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for SimpleExecutionError

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for SimpleProgramCreationError

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for SuccessReplyReason

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for bool

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for f32

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for f64

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for i8

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for i16

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for i32

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for i64

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for i128

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for str

§

fn size_hint(&self) -> usize

§

fn encode_to<W>(&self, dest: &mut W)
where W: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for u8

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for u16

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for u32

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for u64

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for u128

§

fn size_hint(&self) -> usize

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for ()

§

fn encode_to<W>(&self, _dest: &mut W)
where W: Output + ?Sized,

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

fn encode(&self) -> Vec<u8>

source§

impl Encode for RuntimeBufferSizeError

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for InstantiatedSectionSizes

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for InstrumentedCode

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for GasInfo

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for GasLeft

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for MemoryInterval

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for PageBuf

source§

fn size_hint(&self) -> usize

source§

fn encode_to<W>(&self, dest: &mut W)
where W: Output + ?Sized,

source§

impl Encode for Dispatch

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for Message

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ReplyDetails

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for SignalDetails

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ContextStore

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for HandleMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for HandlePacket

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for IncomingDispatch

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for IncomingMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for InitMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for InitPacket

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ReplyMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ReplyPacket

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for SignalMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for StoredDelayedDispatch

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for StoredDispatch

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for StoredMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for PayloadSizeError

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ReplyInfo

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for UserMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for UserStoredMessage

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for Percent

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

fn encode(&self) -> Vec<u8>

source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

source§

impl Encode for MemoryInfix

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

fn encode(&self) -> Vec<u8>

source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

source§

impl Encode for GasReservationSlot

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for GasReserver

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl Encode for ReservationNonce

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

fn encode(&self) -> Vec<u8>

source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for AccountId32

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for ActorId

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for Bits

§

fn size_hint(&self) -> usize

§

fn encode(&self) -> Vec<u8>

§

fn encoded_size(&self) -> usize

§

impl Encode for BlakeTwo256

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for CodeId

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for CompactProof

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for Digest

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for DigestItem

§

fn encode(&self) -> Vec<u8>

§

impl Encode for EcdsaVerifyError

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for Encoded

§

fn encode(&self) -> Vec<u8>

§

impl Encode for Era

§

fn encode_to<T>(&self, output: &mut T)
where T: Output + ?Sized,

§

impl Encode for Error

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for H128

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for H384

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for H768

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for KillStorageResult

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for MessageHandle

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for MessageId

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for Metadata

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl Encode for MultiRemovalResults

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for MultiSignature

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for NonZeroU256

§

fn size_hint(&self) -> usize

§

fn encode_to<W>(&self, dest: &mut W)
where W: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for OpaqueMetadata

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for Phase

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for ReservationId

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for ReturnValue

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for RuntimeDbWeight

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for RuntimeMetadata

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for RuntimeMetadataDeprecated

§

fn encode_to<W>(&self, _dest: &mut W)
where W: Output + ?Sized,

§

impl Encode for RuntimeMetadataPrefixed

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for RuntimeMetadataV14

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for RuntimeMetadataV15

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for StorageEntryModifier

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for StorageHasher

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for StorageProof

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for StorageProofError

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for U128

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

§

impl Encode for Value

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for WasmEntryAttributes

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for WasmFieldName

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for WasmFields

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for WasmLevel

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for WasmMetadata

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for WasmValue

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl Encode for WasmValuesSet

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl Encode for Weight

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl<'a> Encode for LimitedStr<'a>

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

fn encode(&self) -> Vec<u8>

source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

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 A0: Encode, B0: Encode, C0: Encode, D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<AccountId, AccountIndex> Encode for MultiAddress<AccountId, AccountIndex>
where AccountId: Encode, AccountIndex: HasCompact,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<Address, Call, Signature, Extra> Encode for UncheckedExtrinsic<Address, Call, Signature, Extra>

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

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, C0: Encode, D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<Balance> Encode for WeightToFeeCoefficient<Balance>
where Balance: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl<BlockNumber> Encode for Program<BlockNumber>
where BlockNumber: Copy, ActiveProgram<BlockNumber>: Encode,

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl<BlockNumber> Encode for ActiveProgram<BlockNumber>
where BlockNumber: Copy + Encode,

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

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 C0: Encode, D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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 D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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 E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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 F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

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,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<N0, O0, P0, Q0, R0> Encode for (N0, O0, P0, Q0, R0)
where N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<N, H> Encode for SubstrateHeader<N, H>
where N: Copy + Into<U256> + TryFrom<U256> + HasCompact, H: Hasher, <H as Hasher>::Output: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<O0, P0, Q0, R0> Encode for (O0, P0, Q0, R0)
where O0: Encode, P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<P0, Q0, R0> Encode for (P0, Q0, R0)
where P0: Encode, Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<Q0, R0> Encode for (Q0, R0)
where Q0: Encode, R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

impl<R0> Encode for (R0,)
where R0: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<T>(&self, dest: &mut T)
where T: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<R, F>(&self, f: F) -> R
where F: FnOnce(&[u8]) -> R,

source§

impl<RFM, SD, SUM> Encode for ScheduledTask<RFM, SD, SUM>
where RFM: Encode, SD: Encode, SUM: Encode,

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<Store, Order> Encode for DecodedBits<Store, Order>
where Store: BitStore, Order: BitOrder,

§

fn size_hint(&self) -> usize

§

fn encoded_size(&self) -> usize

§

fn encode(&self) -> Vec<u8>

§

impl<T> Encode for Option<T>
where T: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<W>(&self, dest: &mut W)
where W: Output + ?Sized,

§

impl<T> Encode for [T]
where T: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<W>(&self, dest: &mut W)
where W: Output + ?Sized,

§

impl<T> Encode for Crossing<T>
where T: Encode + Decode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for CustomMetadata<T>
where T: Form, BTreeMap<<T as Form>::String, CustomValueMetadata<T>>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for CustomValueMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for ExtrinsicMetadata<T>
where T: Form, <T as Form>::Type: Encode, Vec<SignedExtensionMetadata<T>>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for ExtrinsicMetadata<T>
where T: Form, <T as Form>::Type: Encode, Vec<SignedExtensionMetadata<T>>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for IntervalsTree<T>
where BTreeMap<T, T>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for OuterEnums<T>
where T: Form, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for PalletCallMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for PalletConstantMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode, Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for PalletErrorMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for PalletEventMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for PalletMetadata<T>
where T: Form, <T as Form>::String: Encode, Option<PalletStorageMetadata<T>>: Encode, Option<PalletCallMetadata<T>>: Encode, Option<PalletEventMetadata<T>>: Encode, Vec<PalletConstantMetadata<T>>: Encode, Option<PalletErrorMetadata<T>>: Encode, Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for PalletMetadata<T>
where T: Form, <T as Form>::String: Encode, Option<PalletStorageMetadata<T>>: Encode, Option<PalletCallMetadata<T>>: Encode, Option<PalletEventMetadata<T>>: Encode, Vec<PalletConstantMetadata<T>>: Encode, Option<PalletErrorMetadata<T>>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for PalletStorageMetadata<T>
where T: Form, <T as Form>::String: Encode, Vec<StorageEntryMetadata<T>>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for RuntimeApiMetadata<T>
where T: Form, <T as Form>::String: Encode, Vec<RuntimeApiMethodMetadata<T>>: Encode, Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for RuntimeApiMethodMetadata<T>
where T: Form, <T as Form>::String: Encode, Vec<RuntimeApiMethodParamMetadata<T>>: Encode, <T as Form>::Type: Encode, Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for RuntimeApiMethodParamMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for SignedExtensionMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for SignedExtensionMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for Static<T>
where T: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

fn encode(&self) -> Vec<u8>

§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

§

impl<T> Encode for StorageEntryMetadata<T>
where T: Form, <T as Form>::String: Encode, StorageEntryType<T>: Encode, Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for StorageEntryType<T>
where T: Form, <T as Form>::Type: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T> Encode for WrapperKeepOpaque<T>
where PhantomDataSendSync<T>: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

impl<T, E, const N: usize> Encode for LimitedVec<T, E, N>
where Vec<T>: Encode, PhantomData<E>: Encode,

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

§

impl<T, const N: usize> Encode for [T; N]
where T: Encode,

§

fn size_hint(&self) -> usize

§

fn encode_to<W>(&self, dest: &mut W)
where W: Output + ?Sized,

source§

impl<const SIZE: u32> Encode for Page<SIZE>

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

fn encode(&self) -> Vec<u8>

source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

source§

impl<const SIZE: u32> Encode for PagesAmount<SIZE>

source§

fn size_hint(&self) -> usize

source§

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: Output + ?Sized,

source§

fn encode(&self) -> Vec<u8>

source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
where __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

Implementors§

source§

impl Encode for RuntimeEvent

source§

impl Encode for gclient::GearEvent

source§

impl Encode for gclient::errors::BagsList

source§

impl Encode for gclient::errors::Balances

source§

impl Encode for gclient::errors::ConvictionVoting

source§

impl Encode for gclient::errors::Gear

source§

impl Encode for gclient::errors::GearDebug

source§

impl Encode for gclient::errors::GearStakingRewards

source§

impl Encode for gclient::errors::Grandpa

source§

impl Encode for gclient::errors::Identity

source§

impl Encode for gclient::errors::ImOnline

source§

impl Encode for gclient::errors::Preimage

source§

impl Encode for gclient::errors::RanckedCollective

source§

impl Encode for gclient::errors::Referenda

source§

impl Encode for gclient::errors::Scheduler

source§

impl Encode for gclient::errors::Session

source§

impl Encode for gclient::errors::Staking

source§

impl Encode for gclient::errors::Sudo

source§

impl Encode for gclient::errors::System

source§

impl Encode for gclient::errors::Treasury

source§

impl Encode for gclient::errors::Utility

source§

impl Encode for gclient::errors::Vesting

source§

impl Encode for gclient::errors::Whitelist

source§

impl Encode for gclient::metadata::bags_list::Event

source§

impl Encode for gclient::metadata::balances::Event

source§

impl Encode for gclient::metadata::bounties::Event

source§

impl Encode for gclient::metadata::child_bounties::Event

source§

impl Encode for gclient::metadata::conviction_voting::Event

source§

impl Encode for gclient::metadata::election_provider_multi_phase::Event

source§

impl Encode for gclient::metadata::DispatchError

source§

impl Encode for gclient::metadata::fellowship_collective::Event

source§

impl Encode for Event2

source§

impl Encode for gclient::metadata::gear_debug::Event

source§

impl Encode for gclient::metadata::gear_eth_bridge::Event

source§

impl Encode for gclient::metadata::gear_voucher::Event

source§

impl Encode for gclient::metadata::grandpa::Event

source§

impl Encode for gclient::metadata::identity::Event

source§

impl Encode for gclient::metadata::im_online::Event

source§

impl Encode for gclient::metadata::multisig::Event

source§

impl Encode for gclient::metadata::nomination_pools::Event

source§

impl Encode for gclient::metadata::offences::Event

source§

impl Encode for gclient::metadata::preimage::Event

source§

impl Encode for gclient::metadata::proxy::Event

source§

impl Encode for Event1

source§

impl Encode for Mode

source§

impl Encode for DispatchClass

source§

impl Encode for Pays

source§

impl Encode for BalanceStatus

source§

impl Encode for gclient::metadata::runtime_types::frame_system::Phase

source§

impl Encode for gclient::metadata::runtime_types::frame_system::pallet::Call

source§

impl Encode for DispatchStatus

source§

impl Encode for MessageEntry

source§

impl Encode for MessageWaitedRuntimeReason

source§

impl Encode for MessageWaitedSystemReason

source§

impl Encode for MessageWokenRuntimeReason

source§

impl Encode for MessageWokenSystemReason

source§

impl Encode for UserMessageReadRuntimeReason

source§

impl Encode for UserMessageReadSystemReason

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::common::MessageDetails

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::DispatchKind

source§

impl Encode for gclient::metadata::runtime_types::gear_core::program::ProgramState

source§

impl Encode for gclient::metadata::runtime_types::gear_core_errors::simple::ErrorReplyReason

source§

impl Encode for gclient::metadata::runtime_types::gear_core_errors::simple::ReplyCode

source§

impl Encode for gclient::metadata::runtime_types::gear_core_errors::simple::SignalCode

source§

impl Encode for gclient::metadata::runtime_types::gear_core_errors::simple::SimpleExecutionError

source§

impl Encode for gclient::metadata::runtime_types::gear_core_errors::simple::SimpleProgramCreationError

source§

impl Encode for gclient::metadata::runtime_types::gear_core_errors::simple::SuccessReplyReason

source§

impl Encode for gclient::metadata::runtime_types::pallet_babe::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_babe::pallet::Error

source§

impl Encode for ListError

source§

impl Encode for gclient::metadata::runtime_types::pallet_bags_list::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_balances::pallet::Call

source§

impl Encode for AdjustmentDirection

source§

impl Encode for Reasons

source§

impl Encode for gclient::metadata::runtime_types::pallet_bounties::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_bounties::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_child_bounties::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_child_bounties::pallet::Error

source§

impl Encode for Conviction

source§

impl Encode for gclient::metadata::runtime_types::pallet_conviction_voting::pallet::Call

source§

impl Encode for ElectionCompute

source§

impl Encode for gclient::metadata::runtime_types::pallet_election_provider_multi_phase::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_election_provider_multi_phase::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_bank::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_debug::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_debug::pallet::ProgramState

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_eth_bridge::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_eth_bridge::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_gas::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_messenger::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_program::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_scheduler::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_staking_rewards::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_voucher::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_gear_voucher::pallet::Error

source§

impl Encode for gclient::metadata::runtime_types::pallet_grandpa::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_identity::pallet::Call

source§

impl Encode for Data

source§

impl Encode for gclient::metadata::runtime_types::pallet_im_online::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_multisig::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_multisig::pallet::Error

source§

impl Encode for ClaimPermission

source§

impl Encode for PoolState

source§

impl Encode for gclient::metadata::runtime_types::pallet_nomination_pools::pallet::Call

source§

impl Encode for DefensiveError

source§

impl Encode for gclient::metadata::runtime_types::pallet_nomination_pools::pallet::Error

source§

impl Encode for FreezeReason

source§

impl Encode for gclient::metadata::runtime_types::pallet_preimage::pallet::Call

source§

impl Encode for HoldReason

source§

impl Encode for gclient::metadata::runtime_types::pallet_proxy::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_proxy::pallet::Error

source§

impl Encode for VoteRecord

source§

impl Encode for gclient::metadata::runtime_types::pallet_ranked_collective::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_referenda::pallet::Call

source§

impl Encode for Curve

source§

impl Encode for gclient::metadata::runtime_types::pallet_scheduler::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_session::pallet::Call

source§

impl Encode for Forcing

source§

impl Encode for gclient::metadata::runtime_types::pallet_staking::pallet::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_sudo::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_timestamp::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_transaction_payment::Releases

source§

impl Encode for gclient::metadata::runtime_types::pallet_treasury::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_utility::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_vesting::Releases

source§

impl Encode for gclient::metadata::runtime_types::pallet_vesting::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::pallet_whitelist::pallet::Call

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::ArithmeticError

source§

impl Encode for NextConfigDescriptor

source§

impl Encode for PreDigest

source§

impl Encode for AllowedSlots

source§

impl Encode for gclient::metadata::runtime_types::sp_core::Void

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::MultiSignature

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::TokenError

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::TransactionalError

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::generic::digest::DigestItem

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::generic::era::Era

source§

impl Encode for OriginCaller

source§

impl Encode for ProxyType

source§

impl Encode for RuntimeCall

source§

impl Encode for RuntimeError

source§

impl Encode for RuntimeFreezeReason

source§

impl Encode for RuntimeHoldReason

source§

impl Encode for Origin

source§

impl Encode for gclient::metadata::scheduler::Event

source§

impl Encode for gclient::metadata::session::Event

source§

impl Encode for gclient::metadata::staking::Event

source§

impl Encode for gclient::metadata::staking_rewards::Event

source§

impl Encode for gclient::metadata::sudo::Event

source§

impl Encode for gclient::metadata::system::Event

source§

impl Encode for gclient::metadata::transaction_payment::Event

source§

impl Encode for gclient::metadata::treasury::Event

source§

impl Encode for gclient::metadata::utility::Event

source§

impl Encode for gclient::metadata::vesting::Event

source§

impl Encode for gclient::metadata::whitelist::Event

§

impl Encode for LogLevel

§

impl Encode for LogLevelFilter

§

impl Encode for gclient::ext::sp_core::Void

§

impl Encode for ChildInfo

§

impl Encode for DeriveJunction

§

impl Encode for gclient::ext::sp_runtime::ArithmeticError

§

impl Encode for gclient::ext::sp_runtime::DigestItem

§

impl Encode for gclient::ext::sp_runtime::DispatchError

§

impl Encode for ExtrinsicInclusionMode

§

impl Encode for gclient::ext::sp_runtime::MultiSignature

§

impl Encode for MultiSigner

§

impl Encode for RuntimeString

§

impl Encode for StateVersion

§

impl Encode for gclient::ext::sp_runtime::TokenError

§

impl Encode for gclient::ext::sp_runtime::TransactionalError

§

impl Encode for gclient::ext::sp_runtime::generic::Era

§

impl Encode for gclient::ext::sp_runtime::legacy::byte_sized_error::DispatchError

§

impl Encode for HttpError

§

impl Encode for HttpRequestStatus

§

impl Encode for StorageKind

§

impl Encode for TypeDefPrimitive

§

impl Encode for InvalidTransaction

§

impl Encode for TransactionSource

§

impl Encode for TransactionValidityError

§

impl Encode for UnknownTransaction

source§

impl Encode for CheckMetadataHash

source§

impl Encode for DispatchInfo

source§

impl Encode for PostDispatchInfo

source§

impl Encode for PalletId

source§

impl Encode for HoldConsideration

source§

impl Encode for CheckGenesis

source§

impl Encode for CheckMortality

source§

impl Encode for CheckNonZeroSender

source§

impl Encode for CheckSpecVersion

source§

impl Encode for CheckTxVersion

source§

impl Encode for CheckWeight

source§

impl Encode for BlockLength

source§

impl Encode for BlockWeights

source§

impl Encode for WeightsPerClass

source§

impl Encode for CodeUpgradeAuthorization

source§

impl Encode for LastRuntimeUpgradeInfo

source§

impl Encode for ChildrenRefs

source§

impl Encode for CodeMetadata

source§

impl Encode for gclient::metadata::runtime_types::gear_core::code::instrumented::InstantiatedSectionSizes

source§

impl Encode for gclient::metadata::runtime_types::gear_core::code::instrumented::InstrumentedCode

source§

impl Encode for IntoPageBufError

source§

impl Encode for gclient::metadata::runtime_types::gear_core::memory::PageBuf

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::common::ReplyDetails

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::common::SignalDetails

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::context::ContextStore

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::stored::StoredDelayedDispatch

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::stored::StoredDispatch

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::stored::StoredMessage

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::PayloadSizeError

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::user::UserMessage

source§

impl Encode for gclient::metadata::runtime_types::gear_core::message::user::UserStoredMessage

source§

impl Encode for gclient::metadata::runtime_types::gear_core::pages::Page

source§

impl Encode for gclient::metadata::runtime_types::gear_core::pages::PagesAmount

source§

impl Encode for gclient::metadata::runtime_types::gear_core::percent::Percent

source§

impl Encode for gclient::metadata::runtime_types::gear_core::program::MemoryInfix

source§

impl Encode for gclient::metadata::runtime_types::gear_core::reservation::GasReservationSlot

source§

impl Encode for gclient::metadata::runtime_types::gear_core::reservation::ReservationNonce

source§

impl Encode for gclient::metadata::runtime_types::gprimitives::ActorId

source§

impl Encode for gclient::metadata::runtime_types::gprimitives::CodeId

source§

impl Encode for gclient::metadata::runtime_types::gprimitives::MessageId

source§

impl Encode for gclient::metadata::runtime_types::gprimitives::ReservationId

source§

impl Encode for Bag

source§

impl Encode for Node

source§

impl Encode for ExtraFlags

source§

impl Encode for Vote

source§

impl Encode for ReadySolution

source§

impl Encode for SolutionOrSnapshotSize

source§

impl Encode for DbWeights

source§

impl Encode for InstantiationWeights

source§

impl Encode for InstructionWeights

source§

impl Encode for Limits

source§

impl Encode for MemoryWeights

source§

impl Encode for RentWeights

source§

impl Encode for Schedule

source§

impl Encode for SyscallWeights

source§

impl Encode for TaskWeights

source§

impl Encode for DebugData

source§

impl Encode for ProgramDetails

source§

impl Encode for ProgramInfo

source§

impl Encode for EthMessage

source§

impl Encode for StakingBlackList

source§

impl Encode for VoucherId

source§

impl Encode for IdentityInfo

source§

impl Encode for gclient::metadata::runtime_types::pallet_im_online::sr25519::app_sr25519::Public

source§

impl Encode for gclient::metadata::runtime_types::pallet_im_online::sr25519::app_sr25519::Signature

source§

impl Encode for BondedPoolInner

source§

impl Encode for Commission

source§

impl Encode for PoolMember

source§

impl Encode for RewardPool

source§

impl Encode for SubPools

source§

impl Encode for UnbondPool

source§

impl Encode for MemberRecord

source§

impl Encode for gclient::metadata::runtime_types::pallet_ranked_collective::Tally

source§

impl Encode for SlashingSpans

source§

impl Encode for ActiveEraInfo

source§

impl Encode for Nominations

source§

impl Encode for StakingLedger

source§

impl Encode for ValidatorPrefs

source§

impl Encode for ChargeTransactionPayment

source§

impl Encode for gclient::metadata::runtime_types::primitive_types::U256

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::fixed_point::FixedI64

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::fixed_point::FixedU128

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::per_things::PerU16

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::per_things::Perbill

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::per_things::Percent

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::per_things::Permill

source§

impl Encode for gclient::metadata::runtime_types::sp_arithmetic::per_things::Perquintill

source§

impl Encode for gclient::metadata::runtime_types::sp_authority_discovery::app::Public

source§

impl Encode for gclient::metadata::runtime_types::sp_consensus_babe::app::Public

source§

impl Encode for PrimaryPreDigest

source§

impl Encode for SecondaryPlainPreDigest

source§

impl Encode for SecondaryVRFPreDigest

source§

impl Encode for BabeEpochConfiguration

source§

impl Encode for gclient::metadata::runtime_types::sp_consensus_grandpa::app::Public

source§

impl Encode for gclient::metadata::runtime_types::sp_consensus_grandpa::app::Signature

source§

impl Encode for Slot

source§

impl Encode for gclient::metadata::runtime_types::sp_core::crypto::KeyTypeId

source§

impl Encode for gclient::metadata::runtime_types::sp_core::sr25519::vrf::VrfSignature

source§

impl Encode for ElectionScore

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::generic::digest::Digest

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::ModuleError

source§

impl Encode for gclient::metadata::runtime_types::sp_runtime::traits::BlakeTwo256

source§

impl Encode for MembershipProof

source§

impl Encode for RuntimeVersion

source§

impl Encode for gclient::metadata::runtime_types::sp_weights::RuntimeDbWeight

source§

impl Encode for gclient::metadata::runtime_types::sp_weights::weight_v2::Weight

source§

impl Encode for CustomCheckNonce

source§

impl Encode for NposSolution16

source§

impl Encode for Runtime

source§

impl Encode for SessionKeys

§

impl Encode for NonZero<i8>

§

impl Encode for NonZero<i16>

§

impl Encode for NonZero<i32>

§

impl Encode for NonZero<i64>

§

impl Encode for NonZero<i128>

§

impl Encode for NonZero<u8>

§

impl Encode for NonZero<u16>

§

impl Encode for NonZero<u32>

§

impl Encode for NonZero<u64>

§

impl Encode for NonZero<u128>

§

impl Encode for VrfPreOutput

§

impl Encode for VrfProof

§

impl Encode for gclient::ext::sp_core::sr25519::vrf::VrfSignature

§

impl Encode for ChildTrieParentKeyId

§

impl Encode for StorageData

§

impl Encode for StorageKey

§

impl Encode for TrackedStorageKey

§

impl Encode for H160

§

impl Encode for H512

§

impl Encode for gclient::ext::sp_core::OpaqueMetadata

§

impl Encode for OpaquePeerId

§

impl Encode for gclient::ext::sp_core::U256

§

impl Encode for U512

§

impl Encode for gclient::ext::sp_runtime::app_crypto::ecdsa::AppPublic

§

impl Encode for gclient::ext::sp_runtime::app_crypto::ecdsa::AppSignature

§

impl Encode for gclient::ext::sp_runtime::app_crypto::ed25519::AppPublic

§

impl Encode for gclient::ext::sp_runtime::app_crypto::ed25519::AppSignature

§

impl Encode for gclient::ext::sp_runtime::app_crypto::sr25519::AppPublic

§

impl Encode for gclient::ext::sp_runtime::app_crypto::sr25519::AppSignature

§

impl Encode for BigUint

§

impl Encode for gclient::ext::sp_runtime::legacy::byte_sized_error::ModuleError

§

impl Encode for Time

§

impl Encode for gclient::ext::sp_runtime::offchain::Duration

§

impl Encode for HttpRequestId

§

impl Encode for OpaqueMultiaddr

§

impl Encode for OpaqueNetworkState

§

impl Encode for Timestamp

§

impl Encode for gclient::ext::sp_runtime::scale_info::prelude::time::Duration

§

impl Encode for PortableRegistry

§

impl Encode for PortableType

§

impl Encode for gclient::ext::sp_runtime::AccountId32

§

impl Encode for AnySignature

§

impl Encode for CryptoTypeId

§

impl Encode for gclient::ext::sp_runtime::Digest

§

impl Encode for gclient::ext::sp_runtime::FixedI64

§

impl Encode for FixedI128

§

impl Encode for FixedU64

§

impl Encode for gclient::ext::sp_runtime::FixedU128

§

impl Encode for Justifications

§

impl Encode for gclient::ext::sp_runtime::KeyTypeId

§

impl Encode for gclient::ext::sp_runtime::ModuleError

§

impl Encode for OpaqueExtrinsic

§

impl Encode for OpaqueValue

§

impl Encode for gclient::ext::sp_runtime::PerU16

§

impl Encode for gclient::ext::sp_runtime::Perbill

§

impl Encode for gclient::ext::sp_runtime::Percent

§

impl Encode for gclient::ext::sp_runtime::Permill

§

impl Encode for gclient::ext::sp_runtime::Perquintill

§

impl Encode for H256

§

impl Encode for TestSignature

§

impl Encode for UintAuthorityId

§

impl Encode for BadOrigin

§

impl Encode for LookupError

§

impl Encode for ValidTransaction

§

impl Encode for OptionBool

§

impl<'a> Encode for DigestItemRef<'a>

§

impl<'a> Encode for CompactRef<'a, u8>

§

impl<'a> Encode for CompactRef<'a, u16>

§

impl<'a> Encode for CompactRef<'a, u32>

§

impl<'a> Encode for CompactRef<'a, u64>

§

impl<'a> Encode for CompactRef<'a, u128>

§

impl<'a> Encode for CompactRef<'a, ()>

§

impl<'a, T> Encode for CompactRef<'a, T>
where T: CompactAs, CompactRef<'b, <T as CompactAs>::As>: for<'b> Encode,

§

impl<'a, T, S> Encode for BoundedSlice<'a, T, S>
where T: Encode, &'a [T]: Encode, PhantomData<S>: Encode,

§

impl<AccountId, AccountIndex> Encode for gclient::ext::sp_runtime::MultiAddress<AccountId, AccountIndex>
where AccountId: Encode, AccountIndex: HasCompact,

§

impl<Address, Call, Signature, Extra> Encode for gclient::ext::sp_runtime::generic::UncheckedExtrinsic<Address, Call, Signature, Extra>
where Address: Encode, Signature: Encode, Call: Encode, Extra: SignedExtension,

§

impl<B> Encode for BlockAndTimeDeadline<B>

§

impl<Block> Encode for BlockId<Block>
where Block: Block, <Block as Block>::Hash: Encode, <<Block as Block>::Header as Header>::Number: Encode,

§

impl<Block> Encode for SignedBlock<Block>
where Block: Encode,

§

impl<Call, Extra> Encode for SignedPayload<Call, Extra>
where Call: Encode, Extra: SignedExtension,

§

impl<Call, Extra> Encode for TestXt<Call, Extra>
where Option<(u64, Extra)>: Encode, Call: Encode,

§

impl<Header, Extrinsic> Encode for gclient::ext::sp_runtime::generic::Block<Header, Extrinsic>
where Header: Encode, Vec<Extrinsic>: Encode,

§

impl<Info> Encode for gclient::ext::sp_runtime::DispatchErrorWithPostInfo<Info>
where Info: Eq + PartialEq + Clone + Copy + Encode + Decode + Printable,

§

impl<K, V> Encode for BTreeMap<K, V>
where K: Encode, V: Encode,

§

impl<K, V, S> Encode for gclient::ext::sp_runtime::BoundedBTreeMap<K, V, S>
where BTreeMap<K, V>: Encode, PhantomData<S>: Encode,

§

impl<Number, Hash> Encode for gclient::ext::sp_runtime::generic::Header<Number, Hash>
where Number: Copy + Into<U256> + TryFrom<U256> + HasCompact, Hash: Hash, <Hash as Hash>::Output: Encode,

§

impl<T> Encode for TypeDef<T>

§

impl<T> Encode for BTreeSet<T>
where T: Encode,

§

impl<T> Encode for BinaryHeap<T>
where T: Encode,

§

impl<T> Encode for LinkedList<T>
where T: Encode,

§

impl<T> Encode for VecDeque<T>
where T: Encode,

§

impl<T> Encode for Range<T>
where T: Encode,

§

impl<T> Encode for RangeInclusive<T>
where T: Encode,

§

impl<T> Encode for UntrackedSymbol<T>
where PhantomData<fn() -> T>: Encode,

§

impl<T> Encode for Field<T>
where T: Form, Option<<T as Form>::String>: Encode, <T as Form>::Type: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> Encode for Path<T>
where T: Form, Vec<<T as Form>::String>: Encode,

§

impl<T> Encode for Type<T>
where T: Form, Path<T>: Encode, Vec<TypeParameter<T>>: Encode, TypeDef<T>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> Encode for TypeDefArray<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> Encode for TypeDefBitSequence<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> Encode for TypeDefCompact<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> Encode for TypeDefComposite<T>
where T: Form, Vec<Field<T>>: Encode,

§

impl<T> Encode for TypeDefSequence<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> Encode for TypeDefTuple<T>
where T: Form, Vec<<T as Form>::Type>: Encode,

§

impl<T> Encode for TypeDefVariant<T>
where T: Form, Vec<Variant<T>>: Encode,

§

impl<T> Encode for TypeParameter<T>
where T: Form, <T as Form>::String: Encode, Option<<T as Form>::Type>: Encode,

§

impl<T> Encode for Variant<T>
where T: Form, <T as Form>::String: Encode, Vec<Field<T>>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> Encode for PhantomData<T>

§

impl<T> Encode for Compact<T>
where CompactRef<'a, T>: for<'a> Encode,

§

impl<T, D> Encode for TypeWithDefault<T, D>
where D: Get<T>, T: Encode, PhantomData<D>: Encode,

§

impl<T, E> Encode for Result<T, E>
where T: Encode, E: Encode,

§

impl<T, S> Encode for BoundedBTreeSet<T, S>

§

impl<T, S> Encode for gclient::ext::sp_runtime::BoundedVec<T, S>
where Vec<T>: Encode, PhantomData<S>: Encode,

§

impl<T, S> Encode for gclient::ext::sp_runtime::WeakBoundedVec<T, S>
where Vec<T>: Encode, PhantomData<S>: Encode,

§

impl<T, X> Encode for X
where T: Encode + ?Sized, X: WrapperTypeEncode<Target = T>,

§

impl<Xt> Encode for gclient::ext::sp_runtime::testing::Block<Xt>
where Vec<Xt>: Encode,

§

impl<Xt> Encode for ExtrinsicWrapper<Xt>
where Xt: Encode,

source§

impl<_0> Encode for RawOrigin<_0>
where _0: Encode,

source§

impl<_0> Encode for DispatchTime<_0>
where _0: Encode,

source§

impl<_0> Encode for CodeChangeKind<_0>
where Option<_0>: Encode,

source§

impl<_0> Encode for ProgramChangeKind<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::gear_core::program::Program<_0>
where ActiveProgram<_0>: Encode,

source§

impl<_0> Encode for AccountVote<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::pallet_election_provider_multi_phase::Phase<_0>
where _0: Encode, (bool, _0): Encode,

source§

impl<_0> Encode for PrepaidCall<_0>
where _0: Encode,

source§

impl<_0> Encode for StoredState<_0>
where _0: Encode,

source§

impl<_0> Encode for Judgement<_0>
where _0: Encode,

source§

impl<_0> Encode for BondExtra<_0>
where _0: Encode,

source§

impl<_0> Encode for CommissionClaimPermission<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::pallet_nomination_pools::ConfigOp<_0>
where _0: Encode,

source§

impl<_0> Encode for RewardDestination<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::pallet_staking::pallet::pallet::ConfigOp<_0>
where _0: Encode,

source§

impl<_0> Encode for PaymentState<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::bounded_collections::bounded_vec::BoundedVec<_0>
where Vec<_0>: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec<_0>
where Vec<_0>: Encode,

source§

impl<_0> Encode for PerDispatchClass<_0>
where _0: Encode,

source§

impl<_0> Encode for NodeLock<_0>
where _0: Encode, [_0; 4]: Encode,

source§

impl<_0> Encode for Interval<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::gear_core::program::ActiveProgram<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::numerated::tree::IntervalsTree<_0>

source§

impl<_0> Encode for AccountData<_0>
where _0: Encode,

source§

impl<_0> Encode for BalanceLock<_0>
where _0: Encode,

source§

impl<_0> Encode for Delegations<_0>
where _0: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::pallet_conviction_voting::types::Tally<_0>
where _0: Encode,

source§

impl<_0> Encode for RawSolution<_0>
where _0: Encode,

source§

impl<_0> Encode for BankAccount<_0>
where _0: Encode,

source§

impl<_0> Encode for CustomChargeTransactionPayment<_0>

source§

impl<_0> Encode for StoredPendingChange<_0>
where _0: Encode, Option<_0>: Encode,

source§

impl<_0> Encode for AuthorityProperties<_0>
where _0: Encode,

source§

impl<_0> Encode for Heartbeat<_0>
where _0: Encode,

source§

impl<_0> Encode for Timepoint<_0>
where _0: Encode,

source§

impl<_0> Encode for CommissionChangeRate<_0>
where _0: Encode,

source§

impl<_0> Encode for PoolRoles<_0>
where _0: Encode, Option<_0>: Encode,

source§

impl<_0> Encode for DecidingStatus<_0>
where _0: Encode, Option<_0>: Encode,

source§

impl<_0> Encode for RetryConfig<_0>
where _0: Encode,

source§

impl<_0> Encode for SpanRecord<_0>
where _0: Encode,

source§

impl<_0> Encode for EraRewardPoints<_0>
where Vec<(_0, u32)>: Encode,

source§

impl<_0> Encode for UnlockChunk<_0>
where _0: HasCompact,

source§

impl<_0> Encode for Support<_0>
where Vec<(_0, u128)>: Encode,

source§

impl<_0> Encode for gclient::metadata::runtime_types::sp_runtime::generic::header::Header<_0>
where _0: HasCompact,

source§

impl<_0> Encode for gclient::metadata::runtime_types::sp_runtime::DispatchErrorWithPostInfo<_0>
where _0: Encode,

source§

impl<_0> Encode for PagedExposureMetadata<_0>
where _0: HasCompact,

source§

impl<_0, _1> Encode for Bounded<_0, _1>

source§

impl<_0, _1> Encode for GasMultiplier<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for Reason<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for GasNodeId<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for BountyStatus<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for ChildBountyStatus<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for OldRequestStatus<_0, _1>

source§

impl<_0, _1> Encode for RequestStatus<_0, _1>

source§

impl<_0, _1> Encode for gclient::metadata::runtime_types::sp_consensus_grandpa::Equivocation<_0, _1>

source§

impl<_0, _1> Encode for gclient::metadata::runtime_types::bounded_collections::bounded_btree_map::BoundedBTreeMap<_0, _1>

source§

impl<_0, _1> Encode for Precommit<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for Prevote<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for IdAmount<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for AccountInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for EventRecord<_0, _1>
where _0: Encode, Vec<_1>: Encode,

source§

impl<_0, _1> Encode for LinkedNode<_0, _1>
where Option<_0>: Encode, _1: Encode,

source§

impl<_0, _1> Encode for gclient::metadata::runtime_types::gear_core::buffer::LimitedVec<_0, _1>
where Vec<_0>: Encode,

source§

impl<_0, _1> Encode for ReserveData<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for PriorLock<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for RoundSnapshot<_0, _1>
where Vec<_1>: Encode, Vec<_0>: Encode,

source§

impl<_0, _1> Encode for VoucherInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for Deposit<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for TrackInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for UnappliedSlash<_0, _1>
where _0: Encode, _1: Encode, Vec<(_0, _1)>: Encode, Vec<_0>: Encode,

source§

impl<_0, _1> Encode for Proposal<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for VestingInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> Encode for gclient::metadata::runtime_types::sp_consensus_grandpa::EquivocationProof<_0, _1>
where Equivocation<_0, _1>: Encode,

source§

impl<_0, _1> Encode for gclient::metadata::runtime_types::sp_consensus_slots::EquivocationProof<_0, _1>
where _1: Encode, _0: Encode,

source§

impl<_0, _1> Encode for OffenceDetails<_0, _1>
where _1: Encode, Vec<_0>: Encode,

source§

impl<_0, _1> Encode for Exposure<_0, _1>
where Vec<IndividualExposure<_0, _1>>: Encode, _1: HasCompact,

source§

impl<_0, _1> Encode for ExposurePage<_0, _1>
where Vec<IndividualExposure<_0, _1>>: Encode, _1: HasCompact,

source§

impl<_0, _1> Encode for IndividualExposure<_0, _1>
where _0: Encode, _1: HasCompact,

source§

impl<_0, _1, _2> Encode for gclient::metadata::runtime_types::gear_core::tasks::ScheduledTask<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode,

source§

impl<_0, _1, _2> Encode for gclient::metadata::runtime_types::finality_grandpa::Equivocation<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode, (_1, _2): Encode,

source§

impl<_0, _1, _2> Encode for Bounty<_0, _1, _2>
where _0: Encode, _1: Encode, BountyStatus<_0, _2>: Encode,

source§

impl<_0, _1, _2> Encode for ChildBounty<_0, _1, _2>
where _1: Encode, ChildBountyStatus<_0, _2>: Encode,

source§

impl<_0, _1, _2> Encode for Casting<_0, _1, _2>
where BoundedVec<(_1, AccountVote<_0>)>: Encode, Delegations<_0>: Encode, PriorLock<_1, _0>: Encode,

source§

impl<_0, _1, _2> Encode for Delegating<_0, _1, _2>
where _0: Encode, _1: Encode, Delegations<_0>: Encode, PriorLock<_2, _0>: Encode,

source§

impl<_0, _1, _2> Encode for SignedSubmission<_0, _1, _2>
where _0: Encode, _1: Encode, RawSolution<_2>: Encode,

source§

impl<_0, _1, _2> Encode for RegistrarInfo<_0, _1, _2>
where _1: Encode, _0: Encode, _2: Encode,

source§

impl<_0, _1, _2> Encode for Multisig<_0, _1, _2>
where Timepoint<_0>: Encode, _1: Encode, _2: Encode, BoundedVec<_2>: Encode,

source§

impl<_0, _1, _2> Encode for Announcement<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode,

source§

impl<_0, _1, _2> Encode for ProxyDefinition<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode,

source§

impl<_0, _1, _2, _3> Encode for GasNode<_0, _1, _2, _3>
where _0: Encode, GasMultiplier<_3, _2>: Encode, _2: Encode, NodeLock<_2>: Encode, _1: Encode,

source§

impl<_0, _1, _2, _3> Encode for Voting<_0, _1, _2, _3>
where Casting<_0, _2, _2>: Encode, Delegating<_0, _1, _2>: Encode, PhantomData<_3>: Encode,

source§

impl<_0, _1, _2, _3, _4> Encode for Scheduled<_0, _1, _2, _3, _4>
where Option<_0>: Encode, _1: Encode, Option<(_2, _2)>: Encode, _3: Encode,

source§

impl<_0, _1, _2, _3, _4> Encode for SpendStatus<_0, _1, _2, _3, _4>
where _0: Encode, _1: Encode, _2: Encode, _3: Encode, PaymentState<_0>: Encode,

source§

impl<_0, _1, _2, _3, _4, _5, _6, _7> Encode for ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7>
where ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7>: Encode, _2: Encode, Option<Deposit<_6, _4>>: Encode,

source§

impl<_0, _1, _2, _3, _4, _5, _6, _7> Encode for ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7>
where _0: Encode, _1: Encode, _3: Encode, DispatchTime<_2>: Encode, _2: Encode, Deposit<_6, _4>: Encode, Option<Deposit<_6, _4>>: Encode, Option<DecidingStatus<_2>>: Encode, _5: Encode, Option<(_2, _7)>: Encode,

source§

impl<_0, _2> Encode for Registration<_0, _2>
where BoundedVec<(u32, Judgement<_0>)>: Encode, _0: Encode, _2: Encode,

§

impl<const N: usize, T> Encode for CryptoBytes<N, T>
where PhantomData<fn() -> T>: Encode,