pub trait NetworkManager {
    // Required methods
    fn create_network<'life0, 'life1, 'async_trait>(
        &'life0 self,
        name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Network>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn delete_network<'life0, 'life1, 'async_trait>(
        &'life0 self,
        network: &'life1 Network
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn exists_network<'life0, 'life1, 'async_trait>(
        &'life0 self,
        network: &'life1 Network
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn create_interface<'life0, 'life1, 'async_trait>(
        &'life0 self,
        network: &'life1 Network,
        id: u32
    ) -> Pin<Box<dyn Future<Output = Result<Interface>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn delete_interface<'life0, 'life1, 'async_trait>(
        &'life0 self,
        interface: &'life1 Interface
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn exists_interface<'life0, 'life1, 'async_trait>(
        &'life0 self,
        interface: &'life1 Interface
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn bind<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        network: &'life1 Network,
        interface: &'life2 Interface
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn unbind<'life0, 'life1, 'async_trait>(
        &'life0 self,
        interface: &'life1 Interface
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

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

source

fn delete_network<'life0, 'life1, 'async_trait>( &'life0 self, network: &'life1 Network ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn exists_network<'life0, 'life1, 'async_trait>( &'life0 self, network: &'life1 Network ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn create_interface<'life0, 'life1, 'async_trait>( &'life0 self, network: &'life1 Network, id: u32 ) -> Pin<Box<dyn Future<Output = Result<Interface>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn delete_interface<'life0, 'life1, 'async_trait>( &'life0 self, interface: &'life1 Interface ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn exists_interface<'life0, 'life1, 'async_trait>( &'life0 self, interface: &'life1 Interface ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn bind<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, network: &'life1 Network, interface: &'life2 Interface ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn unbind<'life0, 'life1, 'async_trait>( &'life0 self, interface: &'life1 Interface ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§