pub trait QueueMessageHandle {
    // Required methods
    fn take_payload<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, AnyError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn finish<'life0, 'async_trait>(
        &'life0 self,
        success: bool
    ) -> Pin<Box<dyn Future<Output = Result<(), AnyError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn take_payload<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, AnyError>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn finish<'life0, 'async_trait>( &'life0 self, success: bool ) -> Pin<Box<dyn Future<Output = Result<(), AnyError>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Trait Implementations§

source§

impl QueueMessageHandle for Box<dyn QueueMessageHandle>

source§

fn take_payload<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, AnyError>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

fn finish<'life0, 'async_trait>( &'life0 self, success: bool ) -> Pin<Box<dyn Future<Output = Result<(), AnyError>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl QueueMessageHandle for Box<dyn QueueMessageHandle>

source§

fn take_payload<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, AnyError>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

fn finish<'life0, 'async_trait>( &'life0 self, success: bool ) -> Pin<Box<dyn Future<Output = Result<(), AnyError>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§