[−][src]Trait vcontrol::protocol::Protocol
Required methods
fn negotiate(o: &mut Optolink) -> Result<(), Error>
Negotiates the protocol.
fn get(o: &mut Optolink, addr: &[u8], buf: &mut [u8]) -> Result<(), Error>
Reads the value at the address addr
into buf
.
fn set(o: &mut Optolink, addr: &[u8], value: &[u8]) -> Result<(), Error>
Writes the given value value
to the the address addr
.