pub enum SerialCommand {
AllSymbologies(AllSymbologies),
ImageSnap(ImageSnap),
ManualTriggerMode(ManualTriggerMode),
MobilePhoneReadMode(MobilePhoneReadMode),
PDF417(PDF417),
QRCode(QRCode),
SoftwareRevision(SoftwareRevision),
Trigger(Trigger),
}Expand description
Represents Honeywell BCS serial commands.
Variants§
AllSymbologies(AllSymbologies)
ImageSnap(ImageSnap)
ManualTriggerMode(ManualTriggerMode)
MobilePhoneReadMode(MobilePhoneReadMode)
PDF417(PDF417)
QRCode(QRCode)
SoftwareRevision(SoftwareRevision)
Trigger(Trigger)
Implementations§
Source§impl SerialCommand
impl SerialCommand
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new SerialCommand.
Sourcepub fn command(&self) -> String
pub fn command(&self) -> String
Gets the ASCII-encoded SerialCommand.
Trait Implementations§
Source§impl Clone for SerialCommand
impl Clone for SerialCommand
Source§fn clone(&self) -> SerialCommand
fn clone(&self) -> SerialCommand
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 moreimpl Copy for SerialCommand
Source§impl Debug for SerialCommand
impl Debug for SerialCommand
Source§impl Default for SerialCommand
impl Default for SerialCommand
impl Eq for SerialCommand
Source§impl PartialEq for SerialCommand
impl PartialEq for SerialCommand
Source§fn eq(&self, other: &SerialCommand) -> bool
fn eq(&self, other: &SerialCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SerialCommand
Auto Trait Implementations§
impl Freeze for SerialCommand
impl RefUnwindSafe for SerialCommand
impl Send for SerialCommand
impl Sync for SerialCommand
impl Unpin for SerialCommand
impl UnsafeUnpin for SerialCommand
impl UnwindSafe for SerialCommand
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