pub struct MachineLifecycleObservationVersion(/* private fields */);Expand description
Exact content version of one observed machine-lifecycle row.
The version is the domain-prefixed SHA-256 digest of the raw stored bytes, not a decoded projection. It therefore remains a valid target-local CAS witness for unsupported and malformed rows as well as current records.
Implementations§
Source§impl MachineLifecycleObservationVersion
impl MachineLifecycleObservationVersion
Sourcepub fn from_raw_record(bytes: &[u8]) -> Self
pub fn from_raw_record(bytes: &[u8]) -> Self
Derive the exact target-local compare token for opaque stored bytes.
Custom RuntimeStore implementations use the same constructor for
both observations and successful CAS receipts; no decoded lifecycle
shape is allowed to stand in for the physical row version.
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for MachineLifecycleObservationVersion
impl Clone for MachineLifecycleObservationVersion
Source§fn clone(&self) -> MachineLifecycleObservationVersion
fn clone(&self) -> MachineLifecycleObservationVersion
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 Eq for MachineLifecycleObservationVersion
impl StructuralPartialEq for MachineLifecycleObservationVersion
Auto Trait Implementations§
impl Freeze for MachineLifecycleObservationVersion
impl RefUnwindSafe for MachineLifecycleObservationVersion
impl Send for MachineLifecycleObservationVersion
impl Sync for MachineLifecycleObservationVersion
impl Unpin for MachineLifecycleObservationVersion
impl UnsafeUnpin for MachineLifecycleObservationVersion
impl UnwindSafe for MachineLifecycleObservationVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.