Trait psvr::command::Command [] [src]

pub trait Command {
    const ID: u8;

    fn write_payload(&self, write: &mut Write) -> Result<()>;

    fn payload_bytes(&self) -> Vec<u8> { ... }
}

A command that can be sent to the PSVR.

Associated Constants

Required Methods

Provided Methods

Gets the raw bytes that make up the payload.

Implementors