pub trait SubringInterface<const REDUNDANT: u16> {
    // Required method
    fn subring_join<'life0, 'life1, 'async_trait>(
        &'life0 self,
        name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait, Global>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             Self: 'async_trait;
}
Expand description

SubringInterface should imply necessary operator for DHT Subring

Required Methods§

source

fn subring_join<'life0, 'life1, 'async_trait>( &'life0 self, name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

join a subring

Implementors§

source§

impl<const REDUNDANT: u16> SubringInterface<REDUNDANT> for Swarm