Trait ddc::commands::Command
[−]
[src]
pub trait Command {
type Ok: CommandResult;
const MIN_LEN: usize;
const MAX_LEN: usize;
const DELAY_RESPONSE_MS: u64;
const DELAY_COMMAND_MS: u64;
fn len(&self) -> usize;
fn encode(&self, data: &mut [u8]) -> Result<usize, ErrorCode>;
}
Associated Types
type Ok: CommandResult
Associated Constants
Required Methods
Implementations on Foreign Types
impl<'a, C: Command> Command for &'a C[src]
Implementors
impl Command for GetVcpFeature type Ok = VcpValue;impl Command for SetVcpFeature type Ok = ();impl Command for SaveCurrentSettings type Ok = ();impl<'a> Command for TableWrite<'a> type Ok = ();impl Command for TableRead type Ok = TableResponse;impl Command for CapabilitiesRequest type Ok = CapabilitiesReply;impl Command for GetTimingReport type Ok = TimingMessage;