pub struct RunStoreSummaryReadGate { /* private fields */ }Expand description
Deterministic test/embedder seam for proving summary reads do not hold async runtime locks. It is inert unless explicitly armed.
Implementations§
Source§impl RunStoreSummaryReadGate
impl RunStoreSummaryReadGate
pub fn block_next(&self)
pub fn wait_until_entered(&self, timeout: Duration) -> bool
pub fn release(&self)
Trait Implementations§
Source§impl Clone for RunStoreSummaryReadGate
impl Clone for RunStoreSummaryReadGate
Source§fn clone(&self) -> RunStoreSummaryReadGate
fn clone(&self) -> RunStoreSummaryReadGate
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 moreSource§impl Debug for RunStoreSummaryReadGate
impl Debug for RunStoreSummaryReadGate
Source§impl Default for RunStoreSummaryReadGate
impl Default for RunStoreSummaryReadGate
Source§fn default() -> RunStoreSummaryReadGate
fn default() -> RunStoreSummaryReadGate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RunStoreSummaryReadGate
impl RefUnwindSafe for RunStoreSummaryReadGate
impl Send for RunStoreSummaryReadGate
impl Sync for RunStoreSummaryReadGate
impl Unpin for RunStoreSummaryReadGate
impl UnsafeUnpin for RunStoreSummaryReadGate
impl UnwindSafe for RunStoreSummaryReadGate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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 more