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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".