pub trait IInternalBotNotificationDataProcessor: Sync + Send {
// Required methods
fn get_data(&self, data: &Value) -> Option<Box<dyn Any + Sync + Send>>;
fn get_options(&self, options: &Value) -> Option<Box<dyn Any + Sync + Send>>;
fn get_handler_type_id(&self) -> InternalBotNotificationHandlerTypeId;
}Required Methods§
fn get_data(&self, data: &Value) -> Option<Box<dyn Any + Sync + Send>>
fn get_options(&self, options: &Value) -> Option<Box<dyn Any + Sync + Send>>
fn get_handler_type_id(&self) -> InternalBotNotificationHandlerTypeId
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".