Trait MemoryMonitorProxyInterface

Source
pub trait MemoryMonitorProxyInterface: Send + Sync {
    type GetSystemStatisticsResponseFut: Future<Output = Result<MemoryStatistics, Error>> + Send;

    // Required methods
    fn get_snapshot(&self, snapshot: Socket) -> Result<(), Error>;
    fn get_system_statistics(&self) -> Self::GetSystemStatisticsResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn get_snapshot(&self, snapshot: Socket) -> Result<(), Error>

Source

fn get_system_statistics(&self) -> Self::GetSystemStatisticsResponseFut

Implementors§