diff --git a/help.html b/help.html index cb4610ff9b7..8beead09c74 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -
generate a new massa API
pub struct Private {
- pub protocol_controller: Box<dyn ProtocolController>,
+ pub protocol_controller: Box<dyn ProtocolController>,
pub execution_controller: Box<dyn ExecutionController>,
pub api_settings: APIConfig,
pub stop_cv: Arc<(Mutex<bool>, Condvar)>,
pub node_wallet: Arc<RwLock<Wallet>>,
}
Private API content
-protocol_controller: Box<dyn ProtocolController>
link to the protocol component
+protocol_controller: Box<dyn ProtocolController>
link to the protocol component
execution_controller: Box<dyn ExecutionController>
link to the execution component
api_settings: APIConfig
API settings
stop_cv: Arc<(Mutex<bool>, Condvar)>
Mechanism by which to gracefully shut down. diff --git a/massa_api/struct.Public.html b/massa_api/struct.Public.html index ff9a890804e..30f7ada602d 100644 --- a/massa_api/struct.Public.html +++ b/massa_api/struct.Public.html @@ -3,10 +3,10 @@ pub execution_controller: Box<dyn ExecutionController>, pub selector_controller: Box<dyn SelectorController>, pub pool_command_sender: Box<dyn PoolController>, - pub protocol_controller: Box<dyn ProtocolController>, + pub protocol_controller: Box<dyn ProtocolController>, pub storage: Storage, pub api_settings: APIConfig, - pub protocol_config: ProtocolConfig, + pub protocol_config: ProtocolConfig, pub version: Version, pub node_id: NodeId, pub keypair_factory: KeyPairFactory, @@ -15,10 +15,10 @@
execution_controller: Box<dyn ExecutionController>
link to the execution component
selector_controller: Box<dyn SelectorController>
link to the selector component
pool_command_sender: Box<dyn PoolController>
link to the pool component
-protocol_controller: Box<dyn ProtocolController>
link to the protocol component
+protocol_controller: Box<dyn ProtocolController>
link to the protocol component
storage: Storage
Massa storage
api_settings: APIConfig
API settings
-protocol_config: ProtocolConfig
Protocol config
+protocol_config: ProtocolConfig
Protocol config
version: Version
node version (TODO remove, can be retrieved via an endpoint)
node_id: NodeId
our node id
keypair_factory: KeyPairFactory
keypair factory
diff --git a/massa_async_pool/changes/struct.AsyncPoolChanges.html b/massa_async_pool/changes/struct.AsyncPoolChanges.html index 3226cec135b..e1e622398d9 100644 --- a/massa_async_pool/changes/struct.AsyncPoolChanges.html +++ b/massa_async_pool/changes/struct.AsyncPoolChanges.html @@ -19,17 +19,17 @@extends the current AsyncPoolChanges
with another one
source
. Read moreself
and other
values to be equal, and is used
+) -> IResult<&'a [u8], AsyncPoolChanges, E>self
and other
values to be equal, and is used
by ==
.pub struct AsyncPoolChangesDeserializer {
- async_pool_changes_length: U64VarIntDeserializer,
+ async_pool_changes_length: U64VarIntDeserializer,
id_deserializer: AsyncMessageIdDeserializer,
set_update_or_delete_message_deserializer: SetUpdateOrDeleteDeserializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageDeserializer, AsyncMessageUpdateDeserializer>,
-}
async_pool_changes_length: U64VarIntDeserializer
§id_deserializer: AsyncMessageIdDeserializer
§set_update_or_delete_message_deserializer: SetUpdateOrDeleteDeserializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageDeserializer, AsyncMessageUpdateDeserializer>
async_pool_changes_length: U64VarIntDeserializer
§id_deserializer: AsyncMessageIdDeserializer
§set_update_or_delete_message_deserializer: SetUpdateOrDeleteDeserializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageDeserializer, AsyncMessageUpdateDeserializer>
pub struct AsyncPoolChangesSerializer {
- u64_serializer: U64VarIntSerializer,
+ u64_serializer: U64VarIntSerializer,
id_serializer: AsyncMessageIdSerializer,
set_update_or_delete_message_serializer: SetUpdateOrDeleteSerializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageSerializer, AsyncMessageUpdateSerializer>,
}
AsyncPoolChanges
serializer
u64_serializer: U64VarIntSerializer
§id_serializer: AsyncMessageIdSerializer
§set_update_or_delete_message_serializer: SetUpdateOrDeleteSerializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageSerializer, AsyncMessageUpdateSerializer>
u64_serializer: U64VarIntSerializer
§id_serializer: AsyncMessageIdSerializer
§set_update_or_delete_message_serializer: SetUpdateOrDeleteSerializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageSerializer, AsyncMessageUpdateSerializer>
Compute the ID of the message for use when choosing which operations to keep in priority (highest score) on pool overflow.
extends the AsyncMessage
with a AsyncMessageUpdate
source
. Read moreself
and other
values to be equal, and is used
by ==
.use massa_async_pool::{AsyncMessage, AsyncMessageSerializer, AsyncMessageTrigger};
use massa_models::{address::Address, amount::Amount, slot::Slot};
use massa_serialization::Serializer;
diff --git a/massa_async_pool/message/struct.AsyncMessageDeserializer.html b/massa_async_pool/message/struct.AsyncMessageDeserializer.html
index 0242cefa359..22da23331fb 100644
--- a/massa_async_pool/message/struct.AsyncMessageDeserializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageDeserializer.html
@@ -1,21 +1,21 @@
AsyncMessageDeserializer in massa_async_pool::message - Rust pub struct AsyncMessageDeserializer {
pub slot_deserializer: SlotDeserializer,
pub amount_deserializer: AmountDeserializer,
- pub emission_index_deserializer: U64VarIntDeserializer,
- pub max_gas_deserializer: U64VarIntDeserializer,
- pub function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>,
+ pub emission_index_deserializer: U64VarIntDeserializer,
+ pub max_gas_deserializer: U64VarIntDeserializer,
+ pub function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>,
pub function_params_deserializer: VecU8Deserializer,
pub address_deserializer: AddressDeserializer,
- pub trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>,
- pub bool_deserializer: BoolDeserializer,
+ pub trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>,
+ pub bool_deserializer: BoolDeserializer,
pub for_db: bool,
-}
Fields§
§slot_deserializer: SlotDeserializer
§amount_deserializer: AmountDeserializer
§emission_index_deserializer: U64VarIntDeserializer
§max_gas_deserializer: U64VarIntDeserializer
§function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>
§function_params_deserializer: VecU8Deserializer
§address_deserializer: AddressDeserializer
§trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>
§bool_deserializer: BoolDeserializer
§for_db: bool
Implementations§
source§impl AsyncMessageDeserializer
sourcepub fn new(
+}Fields§
§slot_deserializer: SlotDeserializer
§amount_deserializer: AmountDeserializer
§emission_index_deserializer: U64VarIntDeserializer
§max_gas_deserializer: U64VarIntDeserializer
§function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>
§function_params_deserializer: VecU8Deserializer
§address_deserializer: AddressDeserializer
§trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>
§bool_deserializer: BoolDeserializer
§for_db: bool
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageDeserializer
source§fn clone(&self) -> AsyncMessageDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<AsyncMessage> for AsyncMessageDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+) -> Self
Trait Implementations§
source§impl Clone for AsyncMessageDeserializer
source§fn clone(&self) -> AsyncMessageDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<AsyncMessage> for AsyncMessageDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
) -> IResult<&'a [u8], AsyncMessage, E>
Example
diff --git a/massa_async_pool/message/struct.AsyncMessageIdDeserializer.html b/massa_async_pool/message/struct.AsyncMessageIdDeserializer.html
index ef3c4b8f41e..35ba38092a4 100644
--- a/massa_async_pool/message/struct.AsyncMessageIdDeserializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageIdDeserializer.html
@@ -1,9 +1,9 @@
AsyncMessageIdDeserializer in massa_async_pool::message - Rust pub struct AsyncMessageIdDeserializer {
slot_deserializer: SlotDeserializer,
- numerator_deserializer: U64VarIntDeserializer,
- denominator_deserializer: U64VarIntDeserializer,
- emission_index_deserializer: U64VarIntDeserializer,
-}
Fields§
§slot_deserializer: SlotDeserializer
§numerator_deserializer: U64VarIntDeserializer
§denominator_deserializer: U64VarIntDeserializer
§emission_index_deserializer: U64VarIntDeserializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdDeserializer
source§fn clone(&self) -> AsyncMessageIdDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ numerator_deserializer: U64VarIntDeserializer,
+ denominator_deserializer: U64VarIntDeserializer,
+ emission_index_deserializer: U64VarIntDeserializer,
+}Fields§
§slot_deserializer: SlotDeserializer
§numerator_deserializer: U64VarIntDeserializer
§denominator_deserializer: U64VarIntDeserializer
§emission_index_deserializer: U64VarIntDeserializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdDeserializer
source§fn clone(&self) -> AsyncMessageIdDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
) -> IResult<&'a [u8], AsyncMessageId, E>
Example
diff --git a/massa_async_pool/message/struct.AsyncMessageIdSerializer.html b/massa_async_pool/message/struct.AsyncMessageIdSerializer.html
index f2497af26f9..bb6231f6965 100644
--- a/massa_async_pool/message/struct.AsyncMessageIdSerializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageIdSerializer.html
@@ -1,11 +1,11 @@
AsyncMessageIdSerializer in massa_async_pool::message - Rust pub struct AsyncMessageIdSerializer {
slot_serializer: SlotSerializer,
- u64_serializer: U64VarIntSerializer,
-}
Fields§
§slot_serializer: SlotSerializer
§u64_serializer: U64VarIntSerializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdSerializer
source§fn clone(&self) -> AsyncMessageIdSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageIdSerializer
source§impl Serializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdSerializer
source§fn serialize(
+ u64_serializer: U64VarIntSerializer,
+}Fields§
§slot_serializer: SlotSerializer
§u64_serializer: U64VarIntSerializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdSerializer
source§fn clone(&self) -> AsyncMessageIdSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageIdSerializer
source§impl Serializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdSerializer
source§fn serialize(
&self,
value: &AsyncMessageId,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Example
+) -> Result<(), SerializeError>Example
use std::ops::Bound::Included;
use massa_serialization::Serializer;
use massa_models::{address::Address, amount::Amount, slot::Slot};
diff --git a/massa_async_pool/message/struct.AsyncMessageSerializer.html b/massa_async_pool/message/struct.AsyncMessageSerializer.html
index 353ba202057..8fc9dadd052 100644
--- a/massa_async_pool/message/struct.AsyncMessageSerializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageSerializer.html
@@ -1,18 +1,18 @@
AsyncMessageSerializer in massa_async_pool::message - Rust Struct massa_async_pool::message::AsyncMessageSerializer
source · pub struct AsyncMessageSerializer {
pub slot_serializer: SlotSerializer,
- pub function_serializer: StringSerializer<U16VarIntSerializer, u16>,
+ pub function_serializer: StringSerializer<U16VarIntSerializer, u16>,
pub amount_serializer: AmountSerializer,
- pub u64_serializer: U64VarIntSerializer,
+ pub u64_serializer: U64VarIntSerializer,
pub function_params_serializer: VecU8Serializer,
pub address_serializer: AddressSerializer,
- pub trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>,
- pub bool_serializer: BoolSerializer,
+ pub trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>,
+ pub bool_serializer: BoolSerializer,
pub for_db: bool,
-}
Fields§
§slot_serializer: SlotSerializer
§function_serializer: StringSerializer<U16VarIntSerializer, u16>
§amount_serializer: AmountSerializer
§u64_serializer: U64VarIntSerializer
§function_params_serializer: VecU8Serializer
§address_serializer: AddressSerializer
§trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>
§bool_serializer: BoolSerializer
§for_db: bool
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageSerializer
source§fn clone(&self) -> AsyncMessageSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageSerializer
source§impl Serializer<AsyncMessage> for AsyncMessageSerializer
source§fn serialize(
+}Fields§
§slot_serializer: SlotSerializer
§function_serializer: StringSerializer<U16VarIntSerializer, u16>
§amount_serializer: AmountSerializer
§u64_serializer: U64VarIntSerializer
§function_params_serializer: VecU8Serializer
§address_serializer: AddressSerializer
§trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>
§bool_serializer: BoolSerializer
§for_db: bool
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageSerializer
source§fn clone(&self) -> AsyncMessageSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageSerializer
source§impl Serializer<AsyncMessage> for AsyncMessageSerializer
source§fn serialize(
&self,
value: &AsyncMessage,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Example
+) -> Result<(), SerializeError>Example
use massa_async_pool::{AsyncMessage, AsyncMessageSerializer, AsyncMessageTrigger};
use massa_models::{address::Address, amount::Amount, slot::Slot};
use massa_serialization::Serializer;
diff --git a/massa_async_pool/message/struct.AsyncMessageTrigger.html b/massa_async_pool/message/struct.AsyncMessageTrigger.html
index c7e6bfdf6d4..f3bfc806b74 100644
--- a/massa_async_pool/message/struct.AsyncMessageTrigger.html
+++ b/massa_async_pool/message/struct.AsyncMessageTrigger.html
@@ -5,17 +5,17 @@
Fields§
§address: Address
Filter on the address
§datastore_key: Option<Vec<u8>>
Filter on the datastore key
Trait Implementations§
source§impl Clone for AsyncMessageTrigger
source§fn clone(&self) -> AsyncMessageTrigger
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AsyncMessageTrigger
source§impl<'de> Deserialize<'de> for AsyncMessageTrigger
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageTrigger> for AsyncMessageTriggerDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageTrigger> for AsyncMessageTriggerDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncMessageTrigger, E>
source§impl From<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn from(value: AsyncMessageTrigger) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn eq(&self, other: &AsyncMessageTrigger) -> bool
This method tests for self
and other
values to be equal, and is used
+) -> IResult<&'a [u8], AsyncMessageTrigger, E>source§impl From<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn from(value: AsyncMessageTrigger) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn eq(&self, other: &AsyncMessageTrigger) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AsyncMessageTrigger
source§impl Serializer<AsyncMessageTrigger> for AsyncMessageTriggerSerializer
source§fn serialize(
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Serializer<AsyncMessageTrigger> for AsyncMessageTriggerSerializer
source§fn serialize(
&self,
value: &AsyncMessageTrigger,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
source§impl Eq for AsyncMessageTrigger
source§impl StructuralEq for AsyncMessageTrigger
source§impl StructuralPartialEq for AsyncMessageTrigger
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTrigger
§impl Send for AsyncMessageTrigger
§impl Sync for AsyncMessageTrigger
§impl Unpin for AsyncMessageTrigger
§impl UnwindSafe for AsyncMessageTrigger
Blanket Implementations§
source§impl Eq for AsyncMessageTrigger
source§impl StructuralEq for AsyncMessageTrigger
source§impl StructuralPartialEq for AsyncMessageTrigger
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTrigger
§impl Send for AsyncMessageTrigger
§impl Sync for AsyncMessageTrigger
§impl Unpin for AsyncMessageTrigger
§impl UnwindSafe for AsyncMessageTrigger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/message/struct.AsyncMessageTriggerDeserializer.html b/massa_async_pool/message/struct.AsyncMessageTriggerDeserializer.html
index 2305a1523f1..98d859ce9a5 100644
--- a/massa_async_pool/message/struct.AsyncMessageTriggerDeserializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageTriggerDeserializer.html
@@ -1,11 +1,11 @@
AsyncMessageTriggerDeserializer in massa_async_pool::message - Rust pub struct AsyncMessageTriggerDeserializer {
address_deserializer: AddressDeserializer,
- key_serializer: OptionDeserializer<Vec<u8>, VecU8Deserializer>,
+ key_serializer: OptionDeserializer<Vec<u8>, VecU8Deserializer>,
}
Expand description
Deserializer for a trigger for an asynchronous message
-Fields§
§address_deserializer: AddressDeserializer
§key_serializer: OptionDeserializer<Vec<u8>, VecU8Deserializer>
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageTriggerDeserializer
source§fn clone(&self) -> AsyncMessageTriggerDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<AsyncMessageTrigger> for AsyncMessageTriggerDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+
Fields§
§address_deserializer: AddressDeserializer
§key_serializer: OptionDeserializer<Vec<u8>, VecU8Deserializer>
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageTriggerDeserializer
source§fn clone(&self) -> AsyncMessageTriggerDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<AsyncMessageTrigger> for AsyncMessageTriggerDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncMessageTrigger, E>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTriggerDeserializer
§impl Send for AsyncMessageTriggerDeserializer
§impl Sync for AsyncMessageTriggerDeserializer
§impl Unpin for AsyncMessageTriggerDeserializer
§impl UnwindSafe for AsyncMessageTriggerDeserializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTriggerDeserializer
§impl Send for AsyncMessageTriggerDeserializer
§impl Sync for AsyncMessageTriggerDeserializer
§impl Unpin for AsyncMessageTriggerDeserializer
§impl UnwindSafe for AsyncMessageTriggerDeserializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/message/struct.AsyncMessageTriggerSerializer.html b/massa_async_pool/message/struct.AsyncMessageTriggerSerializer.html
index 6dec5b9f420..97120d56839 100644
--- a/massa_async_pool/message/struct.AsyncMessageTriggerSerializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageTriggerSerializer.html
@@ -1,12 +1,12 @@
AsyncMessageTriggerSerializer in massa_async_pool::message - Rust pub struct AsyncMessageTriggerSerializer {
address_serializer: AddressSerializer,
- key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>,
+ key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>,
}
Expand description
Serializer for a trigger for an asynchronous message
-Fields§
§address_serializer: AddressSerializer
§key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageTriggerSerializer
source§fn clone(&self) -> AsyncMessageTriggerSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreFields§
§address_serializer: AddressSerializer
§key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageTriggerSerializer
source§fn clone(&self) -> AsyncMessageTriggerSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Serializer<AsyncMessageTrigger> for AsyncMessageTriggerSerializer
source§fn serialize(
&self,
value: &AsyncMessageTrigger,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTriggerSerializer
§impl Send for AsyncMessageTriggerSerializer
§impl Sync for AsyncMessageTriggerSerializer
§impl Unpin for AsyncMessageTriggerSerializer
§impl UnwindSafe for AsyncMessageTriggerSerializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTriggerSerializer
§impl Send for AsyncMessageTriggerSerializer
§impl Sync for AsyncMessageTriggerSerializer
§impl Unpin for AsyncMessageTriggerSerializer
§impl UnwindSafe for AsyncMessageTriggerSerializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/message/struct.AsyncMessageUpdate.html b/massa_async_pool/message/struct.AsyncMessageUpdate.html
index 102bb4d2c7f..6e4db19b40b 100644
--- a/massa_async_pool/message/struct.AsyncMessageUpdate.html
+++ b/massa_async_pool/message/struct.AsyncMessageUpdate.html
@@ -35,17 +35,17 @@
source§impl Applicable<AsyncMessageUpdate> for AsyncMessageInfo
source§fn apply(&mut self, update: AsyncMessageUpdate)
extends the AsyncMessage
with a AsyncMessageUpdate
source§impl Applicable<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn apply(&mut self, update: AsyncMessageUpdate)
extends the AsyncMessageUpdate
with another one
source§impl Clone for AsyncMessageUpdate
source§fn clone(&self) -> AsyncMessageUpdate
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AsyncMessageUpdate
source§impl Default for AsyncMessageUpdate
source§fn default() -> AsyncMessageUpdate
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for AsyncMessageUpdate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageUpdate> for AsyncMessageUpdateDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageUpdate> for AsyncMessageUpdateDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncMessageUpdate, E>
source§impl From<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn from(value: AsyncMessageUpdate) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn eq(&self, other: &AsyncMessageUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
+) -> IResult<&'a [u8], AsyncMessageUpdate, E>source§impl From<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn from(value: AsyncMessageUpdate) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn eq(&self, other: &AsyncMessageUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AsyncMessageUpdate
source§impl Serializer<AsyncMessageUpdate> for AsyncMessageUpdateSerializer
source§fn serialize(
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Serializer<AsyncMessageUpdate> for AsyncMessageUpdateSerializer
source§fn serialize(
&self,
value: &AsyncMessageUpdate,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
source§impl Eq for AsyncMessageUpdate
source§impl StructuralEq for AsyncMessageUpdate
source§impl StructuralPartialEq for AsyncMessageUpdate
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdate
§impl Send for AsyncMessageUpdate
§impl Sync for AsyncMessageUpdate
§impl Unpin for AsyncMessageUpdate
§impl UnwindSafe for AsyncMessageUpdate
Blanket Implementations§
source§impl Eq for AsyncMessageUpdate
source§impl StructuralEq for AsyncMessageUpdate
source§impl StructuralPartialEq for AsyncMessageUpdate
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdate
§impl Send for AsyncMessageUpdate
§impl Sync for AsyncMessageUpdate
§impl Unpin for AsyncMessageUpdate
§impl UnwindSafe for AsyncMessageUpdate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/message/struct.AsyncMessageUpdateDeserializer.html b/massa_async_pool/message/struct.AsyncMessageUpdateDeserializer.html
index e870c7e96ec..aab552c0402 100644
--- a/massa_async_pool/message/struct.AsyncMessageUpdateDeserializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageUpdateDeserializer.html
@@ -1,26 +1,26 @@
AsyncMessageUpdateDeserializer in massa_async_pool::message - Rust pub struct AsyncMessageUpdateDeserializer {
slot_deserializer: SetOrKeepDeserializer<Slot, SlotDeserializer>,
amount_deserializer: SetOrKeepDeserializer<Amount, AmountDeserializer>,
- emission_index_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>,
- max_gas_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>,
- function_deserializer: SetOrKeepDeserializer<String, StringDeserializer<U16VarIntDeserializer, u16>>,
+ emission_index_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>,
+ max_gas_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>,
+ function_deserializer: SetOrKeepDeserializer<String, StringDeserializer<U16VarIntDeserializer, u16>>,
function_params_deserializer: SetOrKeepDeserializer<Vec<u8>, VecU8Deserializer>,
address_deserializer: SetOrKeepDeserializer<Address, AddressDeserializer>,
- trigger_deserializer: SetOrKeepDeserializer<Option<AsyncMessageTrigger>, OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>>,
- bool_deserializer: SetOrKeepDeserializer<bool, BoolDeserializer>,
+ trigger_deserializer: SetOrKeepDeserializer<Option<AsyncMessageTrigger>, OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>>,
+ bool_deserializer: SetOrKeepDeserializer<bool, BoolDeserializer>,
for_db: bool,
}
Expand description
Deserializer for AsyncMessageUpdate
-Fields§
§slot_deserializer: SetOrKeepDeserializer<Slot, SlotDeserializer>
§amount_deserializer: SetOrKeepDeserializer<Amount, AmountDeserializer>
§emission_index_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>
§max_gas_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>
§function_deserializer: SetOrKeepDeserializer<String, StringDeserializer<U16VarIntDeserializer, u16>>
§function_params_deserializer: SetOrKeepDeserializer<Vec<u8>, VecU8Deserializer>
§address_deserializer: SetOrKeepDeserializer<Address, AddressDeserializer>
§trigger_deserializer: SetOrKeepDeserializer<Option<AsyncMessageTrigger>, OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>>
§bool_deserializer: SetOrKeepDeserializer<bool, BoolDeserializer>
§for_db: bool
Implementations§
Fields§
§slot_deserializer: SetOrKeepDeserializer<Slot, SlotDeserializer>
§amount_deserializer: SetOrKeepDeserializer<Amount, AmountDeserializer>
§emission_index_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>
§max_gas_deserializer: SetOrKeepDeserializer<u64, U64VarIntDeserializer>
§function_deserializer: SetOrKeepDeserializer<String, StringDeserializer<U16VarIntDeserializer, u16>>
§function_params_deserializer: SetOrKeepDeserializer<Vec<u8>, VecU8Deserializer>
§address_deserializer: SetOrKeepDeserializer<Address, AddressDeserializer>
§trigger_deserializer: SetOrKeepDeserializer<Option<AsyncMessageTrigger>, OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>>
§bool_deserializer: SetOrKeepDeserializer<bool, BoolDeserializer>
§for_db: bool
Implementations§
Trait Implementations§
source§impl Deserializer<AsyncMessageUpdate> for AsyncMessageUpdateDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+
Trait Implementations§
source§impl Deserializer<AsyncMessageUpdate> for AsyncMessageUpdateDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncMessageUpdate, E>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdateDeserializer
§impl Send for AsyncMessageUpdateDeserializer
§impl Sync for AsyncMessageUpdateDeserializer
§impl Unpin for AsyncMessageUpdateDeserializer
§impl UnwindSafe for AsyncMessageUpdateDeserializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdateDeserializer
§impl Send for AsyncMessageUpdateDeserializer
§impl Sync for AsyncMessageUpdateDeserializer
§impl Unpin for AsyncMessageUpdateDeserializer
§impl UnwindSafe for AsyncMessageUpdateDeserializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/message/struct.AsyncMessageUpdateSerializer.html b/massa_async_pool/message/struct.AsyncMessageUpdateSerializer.html
index d59c147fcb2..b14714d2604 100644
--- a/massa_async_pool/message/struct.AsyncMessageUpdateSerializer.html
+++ b/massa_async_pool/message/struct.AsyncMessageUpdateSerializer.html
@@ -1,20 +1,20 @@
AsyncMessageUpdateSerializer in massa_async_pool::message - Rust pub struct AsyncMessageUpdateSerializer {
slot_serializer: SetOrKeepSerializer<Slot, SlotSerializer>,
amount_serializer: SetOrKeepSerializer<Amount, AmountSerializer>,
- u64_serializer: SetOrKeepSerializer<u64, U64VarIntSerializer>,
- function_serializer: SetOrKeepSerializer<String, StringSerializer<U16VarIntSerializer, u16>>,
+ u64_serializer: SetOrKeepSerializer<u64, U64VarIntSerializer>,
+ function_serializer: SetOrKeepSerializer<String, StringSerializer<U16VarIntSerializer, u16>>,
function_params_serializer: SetOrKeepSerializer<Vec<u8>, VecU8Serializer>,
address_serializer: SetOrKeepSerializer<Address, AddressSerializer>,
- trigger_serializer: SetOrKeepSerializer<Option<AsyncMessageTrigger>, OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>>,
- bool_serializer: SetOrKeepSerializer<bool, BoolSerializer>,
+ trigger_serializer: SetOrKeepSerializer<Option<AsyncMessageTrigger>, OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>>,
+ bool_serializer: SetOrKeepSerializer<bool, BoolSerializer>,
for_db: bool,
}
Expand description
Serializer for AsyncMessageUpdate
-Fields§
§slot_serializer: SetOrKeepSerializer<Slot, SlotSerializer>
§amount_serializer: SetOrKeepSerializer<Amount, AmountSerializer>
§u64_serializer: SetOrKeepSerializer<u64, U64VarIntSerializer>
§function_serializer: SetOrKeepSerializer<String, StringSerializer<U16VarIntSerializer, u16>>
§function_params_serializer: SetOrKeepSerializer<Vec<u8>, VecU8Serializer>
§address_serializer: SetOrKeepSerializer<Address, AddressSerializer>
§trigger_serializer: SetOrKeepSerializer<Option<AsyncMessageTrigger>, OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>>
§bool_serializer: SetOrKeepSerializer<bool, BoolSerializer>
§for_db: bool
Implementations§
Trait Implementations§
Fields§
§slot_serializer: SetOrKeepSerializer<Slot, SlotSerializer>
§amount_serializer: SetOrKeepSerializer<Amount, AmountSerializer>
§u64_serializer: SetOrKeepSerializer<u64, U64VarIntSerializer>
§function_serializer: SetOrKeepSerializer<String, StringSerializer<U16VarIntSerializer, u16>>
§function_params_serializer: SetOrKeepSerializer<Vec<u8>, VecU8Serializer>
§address_serializer: SetOrKeepSerializer<Address, AddressSerializer>
§trigger_serializer: SetOrKeepSerializer<Option<AsyncMessageTrigger>, OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>>
§bool_serializer: SetOrKeepSerializer<bool, BoolSerializer>
§for_db: bool
Implementations§
Trait Implementations§
source§impl Serializer<AsyncMessageUpdate> for AsyncMessageUpdateSerializer
source§fn serialize(
&self,
value: &AsyncMessageUpdate,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdateSerializer
§impl Send for AsyncMessageUpdateSerializer
§impl Sync for AsyncMessageUpdateSerializer
§impl Unpin for AsyncMessageUpdateSerializer
§impl UnwindSafe for AsyncMessageUpdateSerializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdateSerializer
§impl Send for AsyncMessageUpdateSerializer
§impl Sync for AsyncMessageUpdateSerializer
§impl Unpin for AsyncMessageUpdateSerializer
§impl UnwindSafe for AsyncMessageUpdateSerializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/pool/struct.AsyncPoolDeserializer.html b/massa_async_pool/pool/struct.AsyncPoolDeserializer.html
index f1c14bd9998..6d74e66a6a5 100644
--- a/massa_async_pool/pool/struct.AsyncPoolDeserializer.html
+++ b/massa_async_pool/pool/struct.AsyncPoolDeserializer.html
@@ -1,19 +1,19 @@
AsyncPoolDeserializer in massa_async_pool::pool - Rust Struct massa_async_pool::pool::AsyncPoolDeserializer
source · pub struct AsyncPoolDeserializer {
- u64_deserializer: U64VarIntDeserializer,
+ u64_deserializer: U64VarIntDeserializer,
async_message_id_deserializer: AsyncMessageIdDeserializer,
async_message_deserializer_db: AsyncMessageDeserializer,
}
Expand description
Deserializer for AsyncPool
-Fields§
§u64_deserializer: U64VarIntDeserializer
§async_message_id_deserializer: AsyncMessageIdDeserializer
§async_message_deserializer_db: AsyncMessageDeserializer
Implementations§
Fields§
§u64_deserializer: U64VarIntDeserializer
§async_message_id_deserializer: AsyncMessageIdDeserializer
§async_message_deserializer_db: AsyncMessageDeserializer
Implementations§
Trait Implementations§
source§impl Deserializer<BTreeMap<(Reverse<Ratio<u64>>, Slot, u64), AsyncMessage, Global>> for AsyncPoolDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+
Trait Implementations§
source§impl Deserializer<BTreeMap<(Reverse<Ratio<u64>>, Slot, u64), AsyncMessage, Global>> for AsyncPoolDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], BTreeMap<AsyncMessageId, AsyncMessage>, E>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolDeserializer
§impl Send for AsyncPoolDeserializer
§impl Sync for AsyncPoolDeserializer
§impl Unpin for AsyncPoolDeserializer
§impl UnwindSafe for AsyncPoolDeserializer
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> IResult<&'a [u8], BTreeMap<AsyncMessageId, AsyncMessage>, E>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolDeserializer
§impl Send for AsyncPoolDeserializer
§impl Sync for AsyncPoolDeserializer
§impl Unpin for AsyncPoolDeserializer
§impl UnwindSafe for AsyncPoolDeserializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/pool/struct.AsyncPoolSerializer.html b/massa_async_pool/pool/struct.AsyncPoolSerializer.html
index edefa8ada68..cd157e78caf 100644
--- a/massa_async_pool/pool/struct.AsyncPoolSerializer.html
+++ b/massa_async_pool/pool/struct.AsyncPoolSerializer.html
@@ -1,14 +1,14 @@
AsyncPoolSerializer in massa_async_pool::pool - Rust Struct massa_async_pool::pool::AsyncPoolSerializer
source · pub struct AsyncPoolSerializer {
- u64_serializer: U64VarIntSerializer,
+ u64_serializer: U64VarIntSerializer,
async_message_id_serializer: AsyncMessageIdSerializer,
async_message_serializer: AsyncMessageSerializer,
}
Expand description
Serializer for AsyncPool
-Fields§
§u64_serializer: U64VarIntSerializer
§async_message_id_serializer: AsyncMessageIdSerializer
§async_message_serializer: AsyncMessageSerializer
Implementations§
Trait Implementations§
source§impl Default for AsyncPoolSerializer
source§impl Serializer<BTreeMap<(Reverse<Ratio<u64>>, Slot, u64), AsyncMessage, Global>> for AsyncPoolSerializer
Fields§
§u64_serializer: U64VarIntSerializer
§async_message_id_serializer: AsyncMessageIdSerializer
§async_message_serializer: AsyncMessageSerializer
Implementations§
Trait Implementations§
source§impl Default for AsyncPoolSerializer
source§impl Serializer<BTreeMap<(Reverse<Ratio<u64>>, Slot, u64), AsyncMessage, Global>> for AsyncPoolSerializer
source§fn serialize(
&self,
value: &BTreeMap<AsyncMessageId, AsyncMessage>,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolSerializer
§impl Send for AsyncPoolSerializer
§impl Sync for AsyncPoolSerializer
§impl Unpin for AsyncPoolSerializer
§impl UnwindSafe for AsyncPoolSerializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolSerializer
§impl Send for AsyncPoolSerializer
§impl Sync for AsyncPoolSerializer
§impl Unpin for AsyncPoolSerializer
§impl UnwindSafe for AsyncPoolSerializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
sourcepub fn compute_id(&self) -> AsyncMessageId
Compute the ID of the message for use when choosing which operations to keep in priority (highest score) on pool overflow.
Trait Implementations§
source§impl Applicable<AsyncMessageUpdate> for AsyncMessage
source§fn apply(&mut self, update: AsyncMessageUpdate)
extends the AsyncMessage
with a AsyncMessageUpdate
source§impl Clone for AsyncMessage
source§fn clone(&self) -> AsyncMessage
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AsyncMessage
source§impl Default for AsyncMessage
source§impl<'de> Deserialize<'de> for AsyncMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessage> for AsyncMessageDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessage> for AsyncMessageDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
) -> IResult<&'a [u8], AsyncMessage, E>
Example
@@ -87,11 +87,11 @@
source§impl From<AsyncMessage> for AsyncMessage
source§fn from(value: AsyncMessage) -> Self
Converts to this type from the input type.source§impl From<AsyncMessage> for AsyncMessageInfo
source§fn from(value: AsyncMessage) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessage> for AsyncMessage
source§fn eq(&self, other: &AsyncMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AsyncMessage
source§impl Serializer<AsyncMessage> for AsyncMessageSerializer
source§fn serialize(
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Serializer<AsyncMessage> for AsyncMessageSerializer
source§fn serialize(
&self,
value: &AsyncMessage,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Example
+) -> Result<(), SerializeError>Example
use massa_async_pool::{AsyncMessage, AsyncMessageSerializer, AsyncMessageTrigger};
use massa_models::{address::Address, amount::Amount, slot::Slot};
use massa_serialization::Serializer;
diff --git a/massa_async_pool/struct.AsyncMessageDeserializer.html b/massa_async_pool/struct.AsyncMessageDeserializer.html
index f91c30c20d3..608951ed5d6 100644
--- a/massa_async_pool/struct.AsyncMessageDeserializer.html
+++ b/massa_async_pool/struct.AsyncMessageDeserializer.html
@@ -1,21 +1,21 @@
AsyncMessageDeserializer in massa_async_pool - Rust pub struct AsyncMessageDeserializer {
pub slot_deserializer: SlotDeserializer,
pub amount_deserializer: AmountDeserializer,
- pub emission_index_deserializer: U64VarIntDeserializer,
- pub max_gas_deserializer: U64VarIntDeserializer,
- pub function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>,
+ pub emission_index_deserializer: U64VarIntDeserializer,
+ pub max_gas_deserializer: U64VarIntDeserializer,
+ pub function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>,
pub function_params_deserializer: VecU8Deserializer,
pub address_deserializer: AddressDeserializer,
- pub trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>,
- pub bool_deserializer: BoolDeserializer,
+ pub trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>,
+ pub bool_deserializer: BoolDeserializer,
pub for_db: bool,
-}
Fields§
§slot_deserializer: SlotDeserializer
§amount_deserializer: AmountDeserializer
§emission_index_deserializer: U64VarIntDeserializer
§max_gas_deserializer: U64VarIntDeserializer
§function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>
§function_params_deserializer: VecU8Deserializer
§address_deserializer: AddressDeserializer
§trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>
§bool_deserializer: BoolDeserializer
§for_db: bool
Implementations§
source§impl AsyncMessageDeserializer
sourcepub fn new(
+}Fields§
§slot_deserializer: SlotDeserializer
§amount_deserializer: AmountDeserializer
§emission_index_deserializer: U64VarIntDeserializer
§max_gas_deserializer: U64VarIntDeserializer
§function_deserializer: StringDeserializer<U16VarIntDeserializer, u16>
§function_params_deserializer: VecU8Deserializer
§address_deserializer: AddressDeserializer
§trigger_deserializer: OptionDeserializer<AsyncMessageTrigger, AsyncMessageTriggerDeserializer>
§bool_deserializer: BoolDeserializer
§for_db: bool
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageDeserializer
source§fn clone(&self) -> AsyncMessageDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<AsyncMessage> for AsyncMessageDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+) -> Self
Trait Implementations§
source§impl Clone for AsyncMessageDeserializer
source§fn clone(&self) -> AsyncMessageDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<AsyncMessage> for AsyncMessageDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
) -> IResult<&'a [u8], AsyncMessage, E>
Example
diff --git a/massa_async_pool/struct.AsyncMessageIdDeserializer.html b/massa_async_pool/struct.AsyncMessageIdDeserializer.html
index b1254d08fbf..37e4b32992b 100644
--- a/massa_async_pool/struct.AsyncMessageIdDeserializer.html
+++ b/massa_async_pool/struct.AsyncMessageIdDeserializer.html
@@ -1,9 +1,9 @@
AsyncMessageIdDeserializer in massa_async_pool - Rust pub struct AsyncMessageIdDeserializer {
slot_deserializer: SlotDeserializer,
- numerator_deserializer: U64VarIntDeserializer,
- denominator_deserializer: U64VarIntDeserializer,
- emission_index_deserializer: U64VarIntDeserializer,
-}
Fields§
§slot_deserializer: SlotDeserializer
§numerator_deserializer: U64VarIntDeserializer
§denominator_deserializer: U64VarIntDeserializer
§emission_index_deserializer: U64VarIntDeserializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdDeserializer
source§fn clone(&self) -> AsyncMessageIdDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ numerator_deserializer: U64VarIntDeserializer,
+ denominator_deserializer: U64VarIntDeserializer,
+ emission_index_deserializer: U64VarIntDeserializer,
+}Fields§
§slot_deserializer: SlotDeserializer
§numerator_deserializer: U64VarIntDeserializer
§denominator_deserializer: U64VarIntDeserializer
§emission_index_deserializer: U64VarIntDeserializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdDeserializer
source§fn clone(&self) -> AsyncMessageIdDeserializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Deserializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
) -> IResult<&'a [u8], AsyncMessageId, E>
Example
diff --git a/massa_async_pool/struct.AsyncMessageIdSerializer.html b/massa_async_pool/struct.AsyncMessageIdSerializer.html
index 193722a8e46..bfd17953f70 100644
--- a/massa_async_pool/struct.AsyncMessageIdSerializer.html
+++ b/massa_async_pool/struct.AsyncMessageIdSerializer.html
@@ -1,11 +1,11 @@
AsyncMessageIdSerializer in massa_async_pool - Rust pub struct AsyncMessageIdSerializer {
slot_serializer: SlotSerializer,
- u64_serializer: U64VarIntSerializer,
-}
Fields§
§slot_serializer: SlotSerializer
§u64_serializer: U64VarIntSerializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdSerializer
source§fn clone(&self) -> AsyncMessageIdSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageIdSerializer
source§impl Serializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdSerializer
source§fn serialize(
+ u64_serializer: U64VarIntSerializer,
+}Fields§
§slot_serializer: SlotSerializer
§u64_serializer: U64VarIntSerializer
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageIdSerializer
source§fn clone(&self) -> AsyncMessageIdSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageIdSerializer
source§impl Serializer<(Reverse<Ratio<u64>>, Slot, u64)> for AsyncMessageIdSerializer
source§fn serialize(
&self,
value: &AsyncMessageId,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Example
+) -> Result<(), SerializeError>Example
use std::ops::Bound::Included;
use massa_serialization::Serializer;
use massa_models::{address::Address, amount::Amount, slot::Slot};
diff --git a/massa_async_pool/struct.AsyncMessageSerializer.html b/massa_async_pool/struct.AsyncMessageSerializer.html
index 493c4a5a102..6eea1e06df6 100644
--- a/massa_async_pool/struct.AsyncMessageSerializer.html
+++ b/massa_async_pool/struct.AsyncMessageSerializer.html
@@ -1,18 +1,18 @@
AsyncMessageSerializer in massa_async_pool - Rust Struct massa_async_pool::AsyncMessageSerializer
source · pub struct AsyncMessageSerializer {
pub slot_serializer: SlotSerializer,
- pub function_serializer: StringSerializer<U16VarIntSerializer, u16>,
+ pub function_serializer: StringSerializer<U16VarIntSerializer, u16>,
pub amount_serializer: AmountSerializer,
- pub u64_serializer: U64VarIntSerializer,
+ pub u64_serializer: U64VarIntSerializer,
pub function_params_serializer: VecU8Serializer,
pub address_serializer: AddressSerializer,
- pub trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>,
- pub bool_serializer: BoolSerializer,
+ pub trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>,
+ pub bool_serializer: BoolSerializer,
pub for_db: bool,
-}
Fields§
§slot_serializer: SlotSerializer
§function_serializer: StringSerializer<U16VarIntSerializer, u16>
§amount_serializer: AmountSerializer
§u64_serializer: U64VarIntSerializer
§function_params_serializer: VecU8Serializer
§address_serializer: AddressSerializer
§trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>
§bool_serializer: BoolSerializer
§for_db: bool
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageSerializer
source§fn clone(&self) -> AsyncMessageSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageSerializer
source§impl Serializer<AsyncMessage> for AsyncMessageSerializer
source§fn serialize(
+}Fields§
§slot_serializer: SlotSerializer
§function_serializer: StringSerializer<U16VarIntSerializer, u16>
§amount_serializer: AmountSerializer
§u64_serializer: U64VarIntSerializer
§function_params_serializer: VecU8Serializer
§address_serializer: AddressSerializer
§trigger_serializer: OptionSerializer<AsyncMessageTrigger, AsyncMessageTriggerSerializer>
§bool_serializer: BoolSerializer
§for_db: bool
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageSerializer
source§fn clone(&self) -> AsyncMessageSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Default for AsyncMessageSerializer
source§impl Serializer<AsyncMessage> for AsyncMessageSerializer
source§fn serialize(
&self,
value: &AsyncMessage,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Example
+) -> Result<(), SerializeError>Example
use massa_async_pool::{AsyncMessage, AsyncMessageSerializer, AsyncMessageTrigger};
use massa_models::{address::Address, amount::Amount, slot::Slot};
use massa_serialization::Serializer;
diff --git a/massa_async_pool/struct.AsyncMessageTrigger.html b/massa_async_pool/struct.AsyncMessageTrigger.html
index a5c3b692544..08839945f31 100644
--- a/massa_async_pool/struct.AsyncMessageTrigger.html
+++ b/massa_async_pool/struct.AsyncMessageTrigger.html
@@ -5,17 +5,17 @@
Fields§
§address: Address
Filter on the address
§datastore_key: Option<Vec<u8>>
Filter on the datastore key
Trait Implementations§
source§impl Clone for AsyncMessageTrigger
source§fn clone(&self) -> AsyncMessageTrigger
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AsyncMessageTrigger
source§impl<'de> Deserialize<'de> for AsyncMessageTrigger
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageTrigger> for AsyncMessageTriggerDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageTrigger> for AsyncMessageTriggerDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncMessageTrigger, E>
source§impl From<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn from(value: AsyncMessageTrigger) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn eq(&self, other: &AsyncMessageTrigger) -> bool
This method tests for self
and other
values to be equal, and is used
+) -> IResult<&'a [u8], AsyncMessageTrigger, E>source§impl From<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn from(value: AsyncMessageTrigger) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageTrigger> for AsyncMessageTrigger
source§fn eq(&self, other: &AsyncMessageTrigger) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AsyncMessageTrigger
source§impl Serializer<AsyncMessageTrigger> for AsyncMessageTriggerSerializer
source§fn serialize(
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Serializer<AsyncMessageTrigger> for AsyncMessageTriggerSerializer
source§fn serialize(
&self,
value: &AsyncMessageTrigger,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
source§impl Eq for AsyncMessageTrigger
source§impl StructuralEq for AsyncMessageTrigger
source§impl StructuralPartialEq for AsyncMessageTrigger
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTrigger
§impl Send for AsyncMessageTrigger
§impl Sync for AsyncMessageTrigger
§impl Unpin for AsyncMessageTrigger
§impl UnwindSafe for AsyncMessageTrigger
Blanket Implementations§
source§impl Eq for AsyncMessageTrigger
source§impl StructuralEq for AsyncMessageTrigger
source§impl StructuralPartialEq for AsyncMessageTrigger
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTrigger
§impl Send for AsyncMessageTrigger
§impl Sync for AsyncMessageTrigger
§impl Unpin for AsyncMessageTrigger
§impl UnwindSafe for AsyncMessageTrigger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/struct.AsyncMessageTriggerSerializer.html b/massa_async_pool/struct.AsyncMessageTriggerSerializer.html
index 5d2a6c04a8a..8adad57c50c 100644
--- a/massa_async_pool/struct.AsyncMessageTriggerSerializer.html
+++ b/massa_async_pool/struct.AsyncMessageTriggerSerializer.html
@@ -1,12 +1,12 @@
AsyncMessageTriggerSerializer in massa_async_pool - Rust pub struct AsyncMessageTriggerSerializer {
address_serializer: AddressSerializer,
- key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>,
+ key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>,
}
Expand description
Serializer for a trigger for an asynchronous message
-Fields§
§address_serializer: AddressSerializer
§key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageTriggerSerializer
source§fn clone(&self) -> AsyncMessageTriggerSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreFields§
§address_serializer: AddressSerializer
§key_serializer: OptionSerializer<Vec<u8>, VecU8Serializer>
Implementations§
Trait Implementations§
source§impl Clone for AsyncMessageTriggerSerializer
source§fn clone(&self) -> AsyncMessageTriggerSerializer
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Serializer<AsyncMessageTrigger> for AsyncMessageTriggerSerializer
source§fn serialize(
&self,
value: &AsyncMessageTrigger,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTriggerSerializer
§impl Send for AsyncMessageTriggerSerializer
§impl Sync for AsyncMessageTriggerSerializer
§impl Unpin for AsyncMessageTriggerSerializer
§impl UnwindSafe for AsyncMessageTriggerSerializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageTriggerSerializer
§impl Send for AsyncMessageTriggerSerializer
§impl Sync for AsyncMessageTriggerSerializer
§impl Unpin for AsyncMessageTriggerSerializer
§impl UnwindSafe for AsyncMessageTriggerSerializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/struct.AsyncMessageUpdate.html b/massa_async_pool/struct.AsyncMessageUpdate.html
index f21e92d3b43..ba5a9b4bb20 100644
--- a/massa_async_pool/struct.AsyncMessageUpdate.html
+++ b/massa_async_pool/struct.AsyncMessageUpdate.html
@@ -35,17 +35,17 @@
source§impl Applicable<AsyncMessageUpdate> for AsyncMessageInfo
source§fn apply(&mut self, update: AsyncMessageUpdate)
extends the AsyncMessage
with a AsyncMessageUpdate
source§impl Applicable<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn apply(&mut self, update: AsyncMessageUpdate)
extends the AsyncMessageUpdate
with another one
source§impl Clone for AsyncMessageUpdate
source§fn clone(&self) -> AsyncMessageUpdate
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AsyncMessageUpdate
source§impl Default for AsyncMessageUpdate
source§fn default() -> AsyncMessageUpdate
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for AsyncMessageUpdate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageUpdate> for AsyncMessageUpdateDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncMessageUpdate> for AsyncMessageUpdateDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncMessageUpdate, E>
source§impl From<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn from(value: AsyncMessageUpdate) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn eq(&self, other: &AsyncMessageUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
+) -> IResult<&'a [u8], AsyncMessageUpdate, E>source§impl From<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn from(value: AsyncMessageUpdate) -> Self
Converts to this type from the input type.source§impl PartialEq<AsyncMessageUpdate> for AsyncMessageUpdate
source§fn eq(&self, other: &AsyncMessageUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AsyncMessageUpdate
source§impl Serializer<AsyncMessageUpdate> for AsyncMessageUpdateSerializer
source§fn serialize(
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Serializer<AsyncMessageUpdate> for AsyncMessageUpdateSerializer
source§fn serialize(
&self,
value: &AsyncMessageUpdate,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
source§impl Eq for AsyncMessageUpdate
source§impl StructuralEq for AsyncMessageUpdate
source§impl StructuralPartialEq for AsyncMessageUpdate
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdate
§impl Send for AsyncMessageUpdate
§impl Sync for AsyncMessageUpdate
§impl Unpin for AsyncMessageUpdate
§impl UnwindSafe for AsyncMessageUpdate
Blanket Implementations§
source§impl Eq for AsyncMessageUpdate
source§impl StructuralEq for AsyncMessageUpdate
source§impl StructuralPartialEq for AsyncMessageUpdate
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncMessageUpdate
§impl Send for AsyncMessageUpdate
§impl Sync for AsyncMessageUpdate
§impl Unpin for AsyncMessageUpdate
§impl UnwindSafe for AsyncMessageUpdate
Blanket Implementations§
Trait Implementations§
source§impl Applicable<AsyncPoolChanges> for AsyncPoolChanges
source§fn apply(&mut self, changes: AsyncPoolChanges)
extends the current AsyncPoolChanges
with another one
source§impl Clone for AsyncPoolChanges
source§fn clone(&self) -> AsyncPoolChanges
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AsyncPoolChanges
source§impl Default for AsyncPoolChanges
source§fn default() -> AsyncPoolChanges
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for AsyncPoolChanges
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncPoolChanges> for AsyncPoolChangesDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Deserializer<AsyncPoolChanges> for AsyncPoolChangesDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncPoolChanges, E>
source§impl PartialEq<AsyncPoolChanges> for AsyncPoolChanges
source§fn eq(&self, other: &AsyncPoolChanges) -> bool
This method tests for self
and other
values to be equal, and is used
+) -> IResult<&'a [u8], AsyncPoolChanges, E>source§impl PartialEq<AsyncPoolChanges> for AsyncPoolChanges
source§fn eq(&self, other: &AsyncPoolChanges) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AsyncPoolChanges
source§impl Serializer<AsyncPoolChanges> for AsyncPoolChangesSerializer
source§fn serialize(
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Serializer<AsyncPoolChanges> for AsyncPoolChangesSerializer
source§fn serialize(
&self,
value: &AsyncPoolChanges,
buffer: &mut Vec<u8>
-) -> Result<(), SerializeError>
source§impl Eq for AsyncPoolChanges
source§impl StructuralEq for AsyncPoolChanges
source§impl StructuralPartialEq for AsyncPoolChanges
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolChanges
§impl Send for AsyncPoolChanges
§impl Sync for AsyncPoolChanges
§impl Unpin for AsyncPoolChanges
§impl UnwindSafe for AsyncPoolChanges
Blanket Implementations§
source§impl Eq for AsyncPoolChanges
source§impl StructuralEq for AsyncPoolChanges
source§impl StructuralPartialEq for AsyncPoolChanges
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolChanges
§impl Send for AsyncPoolChanges
§impl Sync for AsyncPoolChanges
§impl Unpin for AsyncPoolChanges
§impl UnwindSafe for AsyncPoolChanges
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/struct.AsyncPoolChangesDeserializer.html b/massa_async_pool/struct.AsyncPoolChangesDeserializer.html
index 31d2bd01266..88e633837d7 100644
--- a/massa_async_pool/struct.AsyncPoolChangesDeserializer.html
+++ b/massa_async_pool/struct.AsyncPoolChangesDeserializer.html
@@ -1,17 +1,17 @@
AsyncPoolChangesDeserializer in massa_async_pool - Rust pub struct AsyncPoolChangesDeserializer {
- async_pool_changes_length: U64VarIntDeserializer,
+ async_pool_changes_length: U64VarIntDeserializer,
id_deserializer: AsyncMessageIdDeserializer,
set_update_or_delete_message_deserializer: SetUpdateOrDeleteDeserializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageDeserializer, AsyncMessageUpdateDeserializer>,
-}
Fields§
§async_pool_changes_length: U64VarIntDeserializer
§id_deserializer: AsyncMessageIdDeserializer
§set_update_or_delete_message_deserializer: SetUpdateOrDeleteDeserializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageDeserializer, AsyncMessageUpdateDeserializer>
Implementations§
source§impl AsyncPoolChangesDeserializer
sourcepub fn new(
+}Fields§
§async_pool_changes_length: U64VarIntDeserializer
§id_deserializer: AsyncMessageIdDeserializer
§set_update_or_delete_message_deserializer: SetUpdateOrDeleteDeserializer<AsyncMessage, AsyncMessageUpdate, AsyncMessageDeserializer, AsyncMessageUpdateDeserializer>
Implementations§
Trait Implementations§
source§impl Deserializer<AsyncPoolChanges> for AsyncPoolChangesDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
+) -> Self
Trait Implementations§
source§impl Deserializer<AsyncPoolChanges> for AsyncPoolChangesDeserializer
source§fn deserialize<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(
&self,
buffer: &'a [u8]
-) -> IResult<&'a [u8], AsyncPoolChanges, E>
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolChangesDeserializer
§impl Send for AsyncPoolChangesDeserializer
§impl Sync for AsyncPoolChangesDeserializer
§impl Unpin for AsyncPoolChangesDeserializer
§impl UnwindSafe for AsyncPoolChangesDeserializer
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for AsyncPoolChangesDeserializer
§impl Send for AsyncPoolChangesDeserializer
§impl Sync for AsyncPoolChangesDeserializer
§impl Unpin for AsyncPoolChangesDeserializer
§impl UnwindSafe for AsyncPoolChangesDeserializer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/massa_async_pool/struct.AsyncPoolChangesSerializer.html b/massa_async_pool/struct.AsyncPoolChangesSerializer.html
index 1e775b26750..6f0e0662c24 100644
--- a/massa_async_pool/struct.AsyncPoolChangesSerializer.html
+++ b/massa_async_pool/struct.AsyncPoolChangesSerializer.html
@@ -1,13 +1,13 @@
AsyncPoolChangesSerializer in massa_async_pool - Rust