Struct config_it::monitor::StorageMonitor
source · pub struct StorageMonitor { /* private fields */ }Expand description
monitor interface for storage
Implementations§
source§impl StorageMonitor
impl StorageMonitor
pub async fn open_replication_channel(
&self
) -> Result<ReplicationChannel, Error>
sourcepub async fn send_event(&self, evt: MonitorEvent) -> Result<(), impl Error>
pub async fn send_event(&self, evt: MonitorEvent) -> Result<(), impl Error>
Send monitor event to storage driver.