Trait amdgpu_top_json::OutputJson

source ·
pub trait OutputJson {
    // Required method
    fn json(&self) -> Value;
}

Required Methods§

source

fn json(&self) -> Value

Implementations on Foreign Types§

source§

impl OutputJson for GpuMetrics

source§

fn json(&self) -> Value

source§

impl OutputJson for DevicePath

source§

fn json(&self) -> Value

source§

impl OutputJson for ConnectorInfo

source§

fn json(&self) -> Value

source§

impl OutputJson for FdInfoStat

source§

fn json(&self) -> Value

source§

impl OutputJson for FdInfoUsage

source§

fn json(&self) -> Value

source§

impl OutputJson for GpuActivity

source§

fn json(&self) -> Value

source§

impl OutputJson for PerfCounter

source§

fn json(&self) -> Value

source§

impl OutputJson for Sensors

source§

fn json(&self) -> Value

source§

impl OutputJson for VramUsage

source§

fn json(&self) -> Value

source§

fn json(&self) -> Value

source§

impl OutputJson for drmModeModeInfo

source§

fn json(&self) -> Value

Implementors§