pub enum FieldState {
Known(u64),
Within(u64),
Unknown(Unknown),
Absent,
}Expand description
A field’s state in one record (core §7.7, “The reader’s fields”).
Variants§
Known(u64)
Its value, at the record’s time: included in this record, or omitted with no deadband and nothing lost since it was included.
Within(u64)
The last value included, give or take its deadband’s delta:
omitted under a deadband, fewer than max_records records after a
record that included a value.
Unknown(Unknown)
Nothing, with why: never its last value, never 0.
Absent
Nothing: the owner wrote it absent.
Implementations§
Trait Implementations§
Source§impl Clone for FieldState
impl Clone for FieldState
impl Copy for FieldState
Source§impl Debug for FieldState
impl Debug for FieldState
impl Eq for FieldState
Source§impl Hash for FieldState
impl Hash for FieldState
Source§impl PartialEq for FieldState
impl PartialEq for FieldState
impl StructuralPartialEq for FieldState
Auto Trait Implementations§
impl Forget for FieldState
impl Freeze for FieldState
impl Move for FieldState
impl RefUnwindSafe for FieldState
impl Send for FieldState
impl Sync for FieldState
impl Unpin for FieldState
impl UnsafeUnpin for FieldState
impl UnwindSafe for FieldState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more