Skip to main content

BindManagerBridge

Trait BindManagerBridge 

Source
pub trait BindManagerBridge {
    // Required methods
    fn box_clone(&self) -> Box<dyn BindManagerBridge>;
    fn on_binding_state_changed(&self);
    fn request_match_from_driver_index<'life0, 'async_trait>(
        &'life0 self,
        args: MatchDriverArgs,
    ) -> Pin<Box<dyn Future<Output = Result<MatchDriverResult>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn start_driver<'life0, 'life1, 'async_trait>(
        &'life0 self,
        node: &'life1 Rc<Node>,
        driver_info: DriverInfo,
    ) -> Pin<Box<dyn Future<Output = Result<String, Status>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn bind_to_parent_spec(
        &self,
        parents: &[CompositeParent],
        node: Weak<Node>,
        enable_multibind: bool,
    ) -> Result<BindSpecResult, Status>;
}

Required Methods§

Source

fn box_clone(&self) -> Box<dyn BindManagerBridge>

Source

fn on_binding_state_changed(&self)

Source

fn request_match_from_driver_index<'life0, 'async_trait>( &'life0 self, args: MatchDriverArgs, ) -> Pin<Box<dyn Future<Output = Result<MatchDriverResult>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn start_driver<'life0, 'life1, 'async_trait>( &'life0 self, node: &'life1 Rc<Node>, driver_info: DriverInfo, ) -> Pin<Box<dyn Future<Output = Result<String, Status>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn bind_to_parent_spec( &self, parents: &[CompositeParent], node: Weak<Node>, enable_multibind: bool, ) -> Result<BindSpecResult, Status>

Implementors§