Trait holochain::core::DhtOpSender
source · pub trait DhtOpSender {
// Required methods
fn send_op<'life0, 'async_trait>(
&'life0 self,
op: DhtOp
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_store_record<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_store_entry<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_register_add_link<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_register_agent_activity<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Allows DhtOps to be sent to some receiver
Required Methods§
sourcefn send_op<'life0, 'async_trait>(
&'life0 self,
op: DhtOp
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_op<'life0, 'async_trait>(
&'life0 self,
op: DhtOp
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sends an op
sourcefn send_store_record<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_store_record<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a StoreRecord DhtOp
sourcefn send_store_entry<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_store_entry<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a StoreEntry DhtOp
sourcefn send_register_add_link<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_register_add_link<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a RegisterAddLink DhtOp
sourcefn send_register_agent_activity<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_register_agent_activity<'life0, 'async_trait>(
&'life0 self,
record: Record
) -> Pin<Box<dyn Future<Output = SysValidationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a RegisterAgentActivity DhtOp