pub enum OpCode {
ReadRegister,
WriteRegister,
ReadMem,
WriteMem,
}Expand description
GVCP operation codes for the GenCP-style operations GigE Vision carries.
The values are GVCP’s (READREG_CMD 0x0080 …). A USB3 Vision device
speaks GenCP proper and knows none of them: its ids are in command_id.
Variants§
ReadRegister
Read a single bootstrap or device register.
WriteRegister
Write a single bootstrap or device register.
ReadMem
Read a block of memory from the device.
WriteMem
Write a block of memory to the device.
Implementations§
Trait Implementations§
impl Copy for OpCode
impl Eq for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations§
impl Freeze for OpCode
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnsafeUnpin for OpCode
impl UnwindSafe for OpCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more