pub trait ExternalSender: Send + Sync {
// Required method
fn send(
&self,
provider: &str,
config_json: &str,
signal_json: &str,
) -> Result<(), String>;
}Expand description
Delivers one signal through a cloud-only transport. provider is
the provider’s name (email), config_json its config and
signal_json the signal, both as JSON.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".