Trait ddc_hi::DdcTable 
                   
                       [−]
                   
               [src]
pub trait DdcTable: DdcHost {
    fn table_read(&mut self, code: u8) -> Result<Vec<u8>, Self::Error>;
    fn table_write(
        &mut self, 
        code: u8, 
        offset: u16, 
        value: &[u8]
    ) -> Result<(), Self::Error>;
}Table commands can read and write arbitrary binary data to a VCP feature.
Tables were introduced in MCCS specification versions 3.0 and 2.2.
Required Methods
fn table_read(&mut self, code: u8) -> Result<Vec<u8>, Self::Error>
Read a table value from the device.
fn table_write(
    &mut self, 
    code: u8, 
    offset: u16, 
    value: &[u8]
) -> Result<(), Self::Error>
&mut self,
code: u8,
offset: u16,
value: &[u8]
) -> Result<(), Self::Error>
Write a table value to the device.