[][src]Struct ru5102::Reader

pub struct Reader { /* fields omitted */ }

Methods

impl Reader[src]

pub fn new(port: &str) -> Result<Reader>[src]

pub fn reader_information(&mut self) -> Result<ReaderInformation>[src]

Fetch information on the reader in a ReaderInformation structure

pub fn inventory(&mut self) -> Result<Vec<Vec<u8>>>[src]

Inventory all tags in the reader's range.

Returns a vector of tag IDs.

pub fn read_data(&mut self, read_cmd: ReadCommand) -> Result<Vec<u8>>[src]

pub fn write_data(&mut self, write_cmd: WriteCommand) -> Result<()>[src]

pub fn kill(&mut self, kill_cmd: KillCommand) -> Result<()>[src]

Send a KillCommand

Auto Trait Implementations

impl Send for Reader

impl Unpin for Reader

impl Sync for Reader

impl UnwindSafe for Reader

impl RefUnwindSafe for Reader

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]