pub trait CloudWatch:
Fallback
+ Sync
+ Send {
// Required methods
fn status(&self) -> Status;
fn work(&self, receiver: Receiver<CloudWatchMessage>);
}Expand description
Trait defining the behavior for CloudWatch log providers.
This abstraction allows swapping log service providers (e.g., for testing or migrating to other cloud providers) without changing the core application logic.
It implements Sync + Send to ensure the service can be safely shared across
multiple threads in a concurrent environment.