Trait OutputSystem

Source
pub trait OutputSystem {
    type Error: Debug + Send + Sync + Sized;

    // Required method
    fn write<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        string: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

A way of outputting the text.

Required Associated Types§

Required Methods§

Source

fn write<'life0, 'life1, 'async_trait>( &'life0 mut self, string: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§