Trait ddc_hi::Ddc [] [src]

pub trait Ddc: DdcHost {
    fn capabilities_string(&mut self) -> Result<Vec<u8>, Self::Error>;
fn get_vcp_feature(&mut self, code: u8) -> Result<Value, Self::Error>;
fn set_vcp_feature(
        &mut self,
        code: u8,
        value: u16
    ) -> Result<(), Self::Error>;
fn save_current_settings(&mut self) -> Result<(), Self::Error>;
fn get_timing_report(&mut self) -> Result<TimingMessage, Self::Error>; }

A high level interface to DDC commands.

Required Methods

Retrieve the capability string from the device.

This executes multiple CapabilitiesRequest commands to construct the entire string.

Gets the current value of an MCCS VCP feature.

Sets a VCP feature to the specified value.

Instructs the device to save its current settings.

Retrieves a timing report from the device.

Implementors