pub struct GvcpCapability(/* private fields */);Expand description
GVCP Capability (0x0934): which optional commands and behaviours the
device implements, one bit each.
Masks from Wireshark’s hf_gvcp_capability_* fields; the specification
numbers bits from the most significant, so 0x20 is its bit 26. Only the
bits something here acts on, or a report shows, have a method; the rest
are in bits.
Implementations§
Source§impl GvcpCapability
impl GvcpCapability
Sourcepub const fn pending_ack(self) -> bool
pub const fn pending_ack(self) -> bool
PENDING_ACK can be enabled in GVCP Configuration (0x20).
Sourcepub const fn packet_resend(self) -> bool
pub const fn packet_resend(self) -> bool
PACKETRESEND_CMD is answered (0x04).
Sourcepub const fn concatenation(self) -> bool
pub const fn concatenation(self) -> bool
Several registers in one READREG/WRITEREG (0x01).
Sourcepub const fn event_data(self) -> bool
pub const fn event_data(self) -> bool
EVENTDATA_CMD is sent (0x10).
Sourcepub const fn heartbeat_disable(self) -> bool
pub const fn heartbeat_disable(self) -> bool
The heartbeat can be disabled in GVCP Configuration (0x2000_0000).
Sourcepub const fn ccp_application_port_ip(self) -> bool
pub const fn ccp_application_port_ip(self) -> bool
The primary application’s IP and port are readable (0x0800_0000).
Sourcepub const fn primary_application_switchover(self) -> bool
pub const fn primary_application_switchover(self) -> bool
Control can be handed over with a switchover key (0x0020_0000).
Trait Implementations§
Source§impl Clone for GvcpCapability
impl Clone for GvcpCapability
impl Copy for GvcpCapability
Source§impl Debug for GvcpCapability
impl Debug for GvcpCapability
Source§impl Default for GvcpCapability
impl Default for GvcpCapability
impl Eq for GvcpCapability
Source§impl PartialEq for GvcpCapability
impl PartialEq for GvcpCapability
impl StructuralPartialEq for GvcpCapability
Auto Trait Implementations§
impl Freeze for GvcpCapability
impl RefUnwindSafe for GvcpCapability
impl Send for GvcpCapability
impl Sync for GvcpCapability
impl Unpin for GvcpCapability
impl UnsafeUnpin for GvcpCapability
impl UnwindSafe for GvcpCapability
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