pub struct EngineSnapshot {
pub schema_version: u16,
pub runtime_session: [u8; 16],
pub runtime_generation: u64,
pub event_sequence: u64,
pub network: Network,
pub authority_state: AuthorityState,
pub policy: PolicySnapshot,
}Expand description
Immutable structured engine status.
Fields§
§schema_version: u16Facade schema version.
runtime_session: [u8; 16]Runtime session ID.
runtime_generation: u64Runtime generation.
event_sequence: u64Monotonic event sequence.
network: NetworkHandshake network.
Authority state.
policy: PolicySnapshotPersistent policy.
Trait Implementations§
Source§impl Clone for EngineSnapshot
impl Clone for EngineSnapshot
Source§fn clone(&self) -> EngineSnapshot
fn clone(&self) -> EngineSnapshot
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 EngineSnapshot
Source§impl Debug for EngineSnapshot
impl Debug for EngineSnapshot
impl Eq for EngineSnapshot
Source§impl PartialEq for EngineSnapshot
impl PartialEq for EngineSnapshot
impl StructuralPartialEq for EngineSnapshot
Auto Trait Implementations§
impl Freeze for EngineSnapshot
impl RefUnwindSafe for EngineSnapshot
impl Send for EngineSnapshot
impl Sync for EngineSnapshot
impl Unpin for EngineSnapshot
impl UnsafeUnpin for EngineSnapshot
impl UnwindSafe for EngineSnapshot
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,
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.