Trait fixity::core::workspace::Init[][src]

pub trait Init {
    type Workspace: Workspace;
    #[must_use]
    fn init<'life0, 'async_trait>(
        &'life0 self,
        workspace: String
    ) -> Pin<Box<dyn Future<Output = Result<Self::Workspace, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn open<'life0, 'async_trait>(
        &'life0 self,
        workspace: String
    ) -> Pin<Box<dyn Future<Output = Result<Self::Workspace, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

#[must_use]
fn init<'life0, 'async_trait>(
    &'life0 self,
    workspace: String
) -> Pin<Box<dyn Future<Output = Result<Self::Workspace, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]
fn open<'life0, 'async_trait>(
    &'life0 self,
    workspace: String
) -> Pin<Box<dyn Future<Output = Result<Self::Workspace, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...