Trait LocalMessageWrite

Source
pub trait LocalMessageWrite:
    Interface
    + Send
    + Sync {
    // Required methods
    fn send<'life0, 'async_trait>(
        &'life0 self,
        message_event: MessageSendingEvent,
    ) -> Pin<Box<dyn Future<Output = Result<CreateResponseKind<Option<Uuid>>, MappedErrors>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_message_event<'life0, 'async_trait>(
        &'life0 self,
        message_event: MessageSendingEvent,
    ) -> Pin<Box<dyn Future<Output = Result<(), MappedErrors>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_message_event<'life0, 'async_trait>(
        &'life0 self,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), MappedErrors>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn ping<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<(), MappedErrors>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn send<'life0, 'async_trait>( &'life0 self, message_event: MessageSendingEvent, ) -> Pin<Box<dyn Future<Output = Result<CreateResponseKind<Option<Uuid>>, MappedErrors>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn update_message_event<'life0, 'async_trait>( &'life0 self, message_event: MessageSendingEvent, ) -> Pin<Box<dyn Future<Output = Result<(), MappedErrors>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn delete_message_event<'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), MappedErrors>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn ping<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), MappedErrors>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§