Skip to main content

ChatSender

Trait ChatSender 

Source
pub trait ChatSender: Send + Sync {
    // Required method
    fn post(&self, payload: Value) -> BoxFuture<'_, Result<()>>;
}
Expand description

Posts to Mattermost (an incoming webhook in production).

Required Methods§

Source

fn post(&self, payload: Value) -> BoxFuture<'_, Result<()>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§