pub enum EngValue<'db, 'p> {
Unsigned(u64),
Signed(i64),
Float(f64),
Bool(bool),
Label(&'db str),
Text(Cow<'p, str>),
Bytes(Cow<'p, [u8]>),
}Expand description
A value after calibration, enumeration lookup or text decoding.
Variants§
Unsigned(u64)
An uncalibrated unsigned integer.
Signed(i64)
An uncalibrated signed integer.
Float(f64)
A float, either encoded as one or produced by a calibrator.
Bool(bool)
A boolean parameter’s value.
Label(&'db str)
An enumeration label, borrowed from the definition.
Text(Cow<'p, str>)
Text decoded from the packet.
Bytes(Cow<'p, [u8]>)
Binary data.
Implementations§
Trait Implementations§
impl<'db, 'p> StructuralPartialEq for EngValue<'db, 'p>
Auto Trait Implementations§
impl<'db, 'p> Forget for EngValue<'db, 'p>
impl<'db, 'p> Freeze for EngValue<'db, 'p>
impl<'db, 'p> Move for EngValue<'db, 'p>
impl<'db, 'p> RefUnwindSafe for EngValue<'db, 'p>
impl<'db, 'p> Send for EngValue<'db, 'p>
impl<'db, 'p> Sync for EngValue<'db, 'p>
impl<'db, 'p> Unpin for EngValue<'db, 'p>
impl<'db, 'p> UnsafeUnpin for EngValue<'db, 'p>
impl<'db, 'p> UnwindSafe for EngValue<'db, 'p>
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