pub struct MergeStatus {
pub first_buffered: usize,
pub second_buffered: usize,
}Available on crate feature
sim only.Expand description
The pending-input view a top-level merge hook reports to its test-side handle (see
[ScriptableHook::status]), used by pause_until_* predicates.
Fields§
§first_buffered: usizeThe number of elements buffered from the first (left) input.
second_buffered: usizeThe number of elements buffered from the second (right) input.
Trait Implementations§
Source§impl Clone for MergeStatus
impl Clone for MergeStatus
Source§impl Debug for MergeStatus
impl Debug for MergeStatus
Source§impl<'de> Deserialize<'de> for MergeStatus
impl<'de> Deserialize<'de> for MergeStatus
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 MergeStatus
impl RefUnwindSafe for MergeStatus
impl Send for MergeStatus
impl Sync for MergeStatus
impl Unpin for MergeStatus
impl UnsafeUnpin for MergeStatus
impl UnwindSafe for MergeStatus
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.