Trait ddc::DdcCommandRaw [] [src]

pub trait DdcCommandRaw: DdcHost {
    fn execute_raw<'a>(
        &mut self,
        data: &[u8],
        out: &'a mut [u8],
        response_delay: Duration
    ) -> Result<&'a mut [u8], Self::Error>; }

Allows the execution of arbitrary low level DDC commands.

Required Methods

Executes a raw DDC/CI command.

A response should not be read unless out is not empty, and the delay should occur in between any write and read made to the device. A subslice of out excluding DDC packet headers should be returned.

Implementors