Trait interface::RoutingConfigManager[][src]

pub trait RoutingConfigManager {
    #[must_use]
    fn get_routing_config<'life0, 'life1, 'async_trait>(
        &'life0 self,
        user: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<RoutingConfig>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn set_routing_config<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        user: &'life1 str,
        config: &'life2 RoutingConfig
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_routing_config<'life0, 'life1, 'async_trait>(
        &'life0 self,
        user: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_move_requests<'life0, 'life1, 'async_trait>(
        &'life0 self,
        src_node: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<MoveInformation>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn flush<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors