Skip to main content

QueueStateHandler

Trait QueueStateHandler 

Source
pub trait QueueStateHandler:
    Send
    + Sync
    + 'static {
    // Required method
    fn import_from_file<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        top_update: &'life1 OutMsgQueueUpdates,
        file: File,
        block_id: &'life2 BlockId,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn import_from_file<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, top_update: &'life1 OutMsgQueueUpdates, file: File, block_id: &'life2 BlockId, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementations on Foreign Types§

Source§

impl<T: QueueStateHandler + ?Sized> QueueStateHandler for Box<T>

Source§

fn import_from_file<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, top_update: &'life1 OutMsgQueueUpdates, file: File, block_id: &'life2 BlockId, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

impl<T: QueueStateHandler + ?Sized> QueueStateHandler for Arc<T>

Source§

fn import_from_file<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, top_update: &'life1 OutMsgQueueUpdates, file: File, block_id: &'life2 BlockId, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§