[−][src]Trait xaynet::services::messages::PetMessageHandler
A single interface for all the PET message processing sub-services
(MessageParserService
, PreProcessorService
and
StateMachineService
).
Required methods
#[must_use]fn handle_message<'life0, 'async_trait>(
&'life0 self,
enc_message: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), PetMessageError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
enc_message: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), PetMessageError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Handle an incoming encrypted PET message form a participant.