pub struct RuntimeSnapshot { /* private fields */ }Expand description
Immutable runtime status.
Implementations§
Source§impl RuntimeSnapshot
impl RuntimeSnapshot
Sourcepub const fn schema_version(&self) -> u16
pub const fn schema_version(&self) -> u16
Runtime status schema version.
Sourcepub const fn session_id(&self) -> RuntimeSessionId
pub const fn session_id(&self) -> RuntimeSessionId
Checked runtime session identity.
Sourcepub const fn session_bytes(&self) -> [u8; 16]
pub const fn session_bytes(&self) -> [u8; 16]
Exact opaque runtime session bytes.
Sourcepub const fn generation(&self) -> u64
pub const fn generation(&self) -> u64
Current runtime generation.
Sourcepub const fn event_sequence(&self) -> u64
pub const fn event_sequence(&self) -> u64
Current monotonic event sequence.
Current browser authority state.
Trait Implementations§
Source§impl Clone for RuntimeSnapshot
impl Clone for RuntimeSnapshot
Source§fn clone(&self) -> RuntimeSnapshot
fn clone(&self) -> RuntimeSnapshot
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 RuntimeSnapshot
Source§impl Debug for RuntimeSnapshot
impl Debug for RuntimeSnapshot
impl Eq for RuntimeSnapshot
Source§impl PartialEq for RuntimeSnapshot
impl PartialEq for RuntimeSnapshot
impl StructuralPartialEq for RuntimeSnapshot
Auto Trait Implementations§
impl Freeze for RuntimeSnapshot
impl RefUnwindSafe for RuntimeSnapshot
impl Send for RuntimeSnapshot
impl Sync for RuntimeSnapshot
impl Unpin for RuntimeSnapshot
impl UnsafeUnpin for RuntimeSnapshot
impl UnwindSafe for RuntimeSnapshot
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