pub enum AsyncInventoryMessage {
StartAck,
StopAck,
TagInformation {
metadata_flags: MetadataFlags,
tag: TagEpcAndMetaData,
},
Heartbeat {
search_flags: InventorySearchFlags,
state_data: Vec<u8>,
},
Subcommand {
subcommand: u16,
subcommand_data: Vec<u8>,
},
}Expand description
One asynchronous inventory message pushed by the reader.
Variants§
StartAck
Reader reply for Start AsyncInventory (0xAA48), no subcommand data.
StopAck
Reader reply for Stop AsyncInventory (0xAA49), no subcommand data.
TagInformation
Unrequested tag information packet.
Fields
§
metadata_flags: MetadataFlagsMetadata flags echoed back from the start command.
§
tag: TagEpcAndMetaDataParsed tag EPC and metadata block.
Heartbeat
Unrequested heartbeat packet.
Fields
§
search_flags: InventorySearchFlagsSearch flags from heartbeat payload.
Subcommand
Unrecognized asynchronous subcommand payload wrapped by Moduletech marker.
Trait Implementations§
Source§impl Clone for AsyncInventoryMessage
impl Clone for AsyncInventoryMessage
Source§fn clone(&self) -> AsyncInventoryMessage
fn clone(&self) -> AsyncInventoryMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsyncInventoryMessage
impl Debug for AsyncInventoryMessage
Source§impl PartialEq for AsyncInventoryMessage
impl PartialEq for AsyncInventoryMessage
Source§fn eq(&self, other: &AsyncInventoryMessage) -> bool
fn eq(&self, other: &AsyncInventoryMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AsyncInventoryMessage
impl StructuralPartialEq for AsyncInventoryMessage
Auto Trait Implementations§
impl Freeze for AsyncInventoryMessage
impl RefUnwindSafe for AsyncInventoryMessage
impl Send for AsyncInventoryMessage
impl Sync for AsyncInventoryMessage
impl Unpin for AsyncInventoryMessage
impl UnsafeUnpin for AsyncInventoryMessage
impl UnwindSafe for AsyncInventoryMessage
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