From 4446542155c0c6eee588f2fb9168b9cff4409bff Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on Date: Tue, 17 Dec 2024 00:37:17 +0000 Subject: [PATCH] deploy: 79df6a7cea14507a5bec7421c726ab941a5c9fd6 --- .../pallet_gear_rpc/trait.GearRuntimeApi.html | 8 ++++---- .../enum.HandleKind.html | 8 ++++---- pr-4404/src/pallet_gear_rpc/lib.rs.html | 20 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/pr-4404/pallet_gear_rpc/trait.GearRuntimeApi.html b/pr-4404/pallet_gear_rpc/trait.GearRuntimeApi.html index dc3278e3302..3d898d51964 100644 --- a/pr-4404/pallet_gear_rpc/trait.GearRuntimeApi.html +++ b/pr-4404/pallet_gear_rpc/trait.GearRuntimeApi.html @@ -15,7 +15,7 @@ &self, __runtime_api_at_param__: <Block as Block>::Hash, source: H256, - kind: HandleKind, + kind: HandleKind, payload: Vec<u8>, value: u128, allow_other_panics: bool, @@ -54,7 +54,7 @@ &self, __runtime_api_at_param__: <Block as Block>::Hash, source: H256, - kind: HandleKind, + kind: HandleKind, payload: Vec<u8>, value: u128, allow_other_panics: bool, @@ -93,7 +93,7 @@ &self, __runtime_api_at_param__: <Block as Block>::Hash, source: H256, - kind: HandleKind, + kind: HandleKind, payload: Vec<u8>, value: u128, allow_other_panics: bool, @@ -128,7 +128,7 @@ &self, __runtime_api_at_param__: <Block as Block>::Hash, source: H256, - kind: HandleKind, + kind: HandleKind, payload: Vec<u8>, value: u128, allow_other_panics: bool, diff --git a/pr-4404/pallet_gear_rpc_runtime_api/enum.HandleKind.html b/pr-4404/pallet_gear_rpc_runtime_api/enum.HandleKind.html index 8ddfd0a3752..ac5f40ea58e 100644 --- a/pr-4404/pallet_gear_rpc_runtime_api/enum.HandleKind.html +++ b/pr-4404/pallet_gear_rpc_runtime_api/enum.HandleKind.html @@ -1,10 +1,10 @@ -HandleKind in pallet_gear_rpc_runtime_api - Rust
pallet_gear_rpc_runtime_api

Enum HandleKind

pub enum HandleKind {
+HandleKind in pallet_gear_rpc_runtime_api - Rust
pallet_gear_rpc_runtime_api

Enum HandleKind

Source
pub enum HandleKind {
     Init(Vec<u8>),
     InitByHash(CodeId),
     Handle(ActorId),
     Reply(MessageId, ReplyCode),
     Signal(MessageId, SignalCode),
-}

Variants§

§

Init(Vec<u8>)

§

InitByHash(CodeId)

§

Handle(ActorId)

§

Reply(MessageId, ReplyCode)

§

Signal(MessageId, SignalCode)

Trait Implementations§

§

impl Clone for HandleKind

§

fn clone(&self) -> HandleKind

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for HandleKind

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Decode for HandleKind

§

fn decode<__CodecInputEdqy>( +}

Variants§

§

Init(Vec<u8>)

§

InitByHash(CodeId)

§

Handle(ActorId)

§

Reply(MessageId, ReplyCode)

§

Signal(MessageId, SignalCode)

Trait Implementations§

Source§

impl Clone for HandleKind

Source§

fn clone(&self) -> HandleKind

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HandleKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for HandleKind

Source§

fn decode<__CodecInputEdqy>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<HandleKind, Error>
where __CodecInputEdqy: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>( @@ -12,12 +12,12 @@ dst: &mut MaybeUninit<Self>, ) -> Result<DecodeFinished, Error>
where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>
where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
§

impl Encode for HandleKind

§

fn size_hint(&self) -> usize

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

fn encode_to<__CodecOutputEdqy>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
Source§

impl Encode for HandleKind

Source§

fn size_hint(&self) -> usize

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

fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
where __CodecOutputEdqy: 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. Read more
§

impl TypeInfo for HandleKind

§

type Identity = HandleKind

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
§

impl EncodeLike for HandleKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
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. Read more
Source§

impl TypeInfo for HandleKind

Source§

type Identity = HandleKind

The type identifying for which type info is provided. Read more
Source§

fn type_info() -> Type

Returns the static type identifier for Self.
Source§

impl EncodeLike for HandleKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<T> Borrow<T> for T
where diff --git a/pr-4404/src/pallet_gear_rpc/lib.rs.html b/pr-4404/src/pallet_gear_rpc/lib.rs.html index 9008161ef08..2d5ad5c52f0 100644 --- a/pr-4404/src/pallet_gear_rpc/lib.rs.html +++ b/pr-4404/src/pallet_gear_rpc/lib.rs.html @@ -649,7 +649,7 @@ types::{ErrorObjectOwned, error::ErrorObject}, }; pub use pallet_gear_rpc_runtime_api::GearApi as GearRuntimeApi; -use pallet_gear_rpc_runtime_api::{GasInfo, HandleKind, ReplyInfo}; +use pallet_gear_rpc_runtime_api::{GasInfo, HandleKind, ReplyInfo}; use sp_api::{ApiError, ApiExt, ApiRef, ProvideRuntimeApi}; use sp_blockchain::HeaderBackend; use sp_core::{Bytes, H256}; @@ -817,7 +817,7 @@ &self, at_hash: <Block as BlockT>::Hash, source: H256, - kind: HandleKind, + kind: HandleKind, payload: Vec<u8>, value: u128, allow_other_panics: bool, @@ -915,7 +915,7 @@ let GasInfo { min_limit, .. } = self.calculate_gas_info( at_hash, source, - HandleKind::InitByHash(code_id.cast()), + HandleKind::InitByHash(code_id.cast()), payload.to_vec(), value, allow_other_panics, @@ -925,7 +925,7 @@ self.calculate_gas_info( at_hash, source, - HandleKind::InitByHash(code_id.cast()), + HandleKind::InitByHash(code_id.cast()), payload.to_vec(), value, allow_other_panics, @@ -947,7 +947,7 @@ let GasInfo { min_limit, .. } = self.calculate_gas_info( at_hash, source, - HandleKind::Init(code.to_vec()), + HandleKind::Init(code.to_vec()), payload.to_vec(), value, allow_other_panics, @@ -957,7 +957,7 @@ self.calculate_gas_info( at_hash, source, - HandleKind::Init(code.to_vec()), + HandleKind::Init(code.to_vec()), payload.to_vec(), value, allow_other_panics, @@ -979,7 +979,7 @@ let GasInfo { min_limit, .. } = self.calculate_gas_info( at_hash, source, - HandleKind::Handle(dest.cast()), + HandleKind::Handle(dest.cast()), payload.to_vec(), value, allow_other_panics, @@ -989,7 +989,7 @@ self.calculate_gas_info( at_hash, source, - HandleKind::Handle(dest.cast()), + HandleKind::Handle(dest.cast()), payload.to_vec(), value, allow_other_panics, @@ -1011,7 +1011,7 @@ let GasInfo { min_limit, .. } = self.calculate_gas_info( at_hash, source, - HandleKind::Reply( + HandleKind::Reply( message_id.cast(), ReplyCode::Success(SuccessReplyReason::Manual), ), @@ -1024,7 +1024,7 @@ self.calculate_gas_info( at_hash, source, - HandleKind::Reply( + HandleKind::Reply( message_id.cast(), ReplyCode::Success(SuccessReplyReason::Manual), ),