pub enum ReadingContext {
InterruptionBegin,
InterruptionEnd,
Other,
SampleClock,
SamplePeriodic,
TransactionBegin,
TransactionEnd,
Trigger,
}
Expand description
Values of the context field of a value in SampledValue.
Variants§
InterruptionBegin
Value taken at start of interruption.
InterruptionEnd
Value taken when resuming after interruption.
Other
Value for any other situations.
SampleClock
Value taken at clock aligned interval.
SamplePeriodic
Value taken as periodic sample relative to start time of transaction.
TransactionBegin
Value taken at start of transaction.
TransactionEnd
Value taken at end of transaction.
Trigger
Value taken in response to a TriggerMessage.req
Trait Implementations§
Source§impl Clone for ReadingContext
impl Clone for ReadingContext
Source§fn clone(&self) -> ReadingContext
fn clone(&self) -> ReadingContext
Returns a duplicate of the value. Read more
1.0.0 · 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 ReadingContext
impl Debug for ReadingContext
Source§impl Default for ReadingContext
impl Default for ReadingContext
Source§fn default() -> ReadingContext
fn default() -> ReadingContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReadingContext
impl<'de> Deserialize<'de> for ReadingContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReadingContext
impl PartialEq for ReadingContext
Source§impl Serialize for ReadingContext
impl Serialize for ReadingContext
impl StructuralPartialEq for ReadingContext
Auto Trait Implementations§
impl Freeze for ReadingContext
impl RefUnwindSafe for ReadingContext
impl Send for ReadingContext
impl Sync for ReadingContext
impl Unpin for ReadingContext
impl UnwindSafe for ReadingContext
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