ServerApi

Trait ServerApi 

Source
pub trait ServerApi {
    // Required methods
    fn init<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        cfg: &'life1 Config,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn push_release<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        rc: &'life1 ReleaseContext,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn push_release_artifact<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        rc: &'life1 ReleaseContext,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn push_pkg<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        pc: &'life1 PublishContext,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn init<'life0, 'life1, 'async_trait>( &'life0 mut self, cfg: &'life1 Config, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn push_release<'life0, 'life1, 'async_trait>( &'life0 mut self, rc: &'life1 ReleaseContext, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn push_release_artifact<'life0, 'life1, 'async_trait>( &'life0 mut self, rc: &'life1 ReleaseContext, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn push_pkg<'life0, 'life1, 'async_trait>( &'life0 mut self, pc: &'life1 PublishContext, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§