pub struct KeyedSnapshotStatus {
pub newer_versions: usize,
pub keys_with_newer_versions: usize,
}Available on crate feature
sim only.Expand description
The pending-input view a keyed snapshot hook reports to its test-side handle (see
[ScriptableHook::status]), used by pause_until_* predicates.
Fields§
§newer_versions: usizeThe total number of buffered versions (across all keys) newer than the last revealed ones.
keys_with_newer_versions: usizeThe number of keys with at least one newer buffered version.
Trait Implementations§
Source§impl Clone for KeyedSnapshotStatus
impl Clone for KeyedSnapshotStatus
Source§impl Debug for KeyedSnapshotStatus
impl Debug for KeyedSnapshotStatus
Source§impl<'de> Deserialize<'de> for KeyedSnapshotStatus
impl<'de> Deserialize<'de> for KeyedSnapshotStatus
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
Auto Trait Implementations§
impl Freeze for KeyedSnapshotStatus
impl RefUnwindSafe for KeyedSnapshotStatus
impl Send for KeyedSnapshotStatus
impl Sync for KeyedSnapshotStatus
impl Unpin for KeyedSnapshotStatus
impl UnsafeUnpin for KeyedSnapshotStatus
impl UnwindSafe for KeyedSnapshotStatus
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 moreCreates a shared type from an unshared type.