[−][src]Trait muta_protocol::traits::Gossip
Required methods
fn broadcast<'life0, 'life1, 'async_trait, M>(
&'life0 self,
cx: Context,
end: &'life1 str,
msg: M,
p: Priority
) -> Pin<Box<dyn Future<Output = ProtocolResult<()>> + Send + 'async_trait>> where
M: MessageCodec,
M: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
cx: Context,
end: &'life1 str,
msg: M,
p: Priority
) -> Pin<Box<dyn Future<Output = ProtocolResult<()>> + Send + 'async_trait>> where
M: MessageCodec,
M: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn users_cast<'life0, 'life1, 'async_trait, M>(
&'life0 self,
cx: Context,
end: &'life1 str,
users: Vec<Address>,
msg: M,
p: Priority
) -> Pin<Box<dyn Future<Output = ProtocolResult<()>> + Send + 'async_trait>> where
M: MessageCodec,
M: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
cx: Context,
end: &'life1 str,
users: Vec<Address>,
msg: M,
p: Priority
) -> Pin<Box<dyn Future<Output = ProtocolResult<()>> + Send + 'async_trait>> where
M: MessageCodec,
M: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,