pub enum LossyDelayedForever {}Expand description
A TCP failure policy that treats dropped messages as indefinitely delayed.
Unlike Lossy, this does not require a NonDet annotation because the output
stream is always lower in the partial order than the ideal stream (dropped messages
are modeled as infinite delays). The tradeoff is that the output has NoOrder
guarantees, imposing stricter conditions on downstream consumers.
When using this mode in the Hydro simulator, you must call
.test_safety_only() because the
simulator models dropped messages as indefinitely delayed, which only tests safety
properties (not liveness).
Trait Implementations§
Source§impl TcpFailPolicy for LossyDelayedForever
impl TcpFailPolicy for LossyDelayedForever
Auto Trait Implementations§
impl Freeze for LossyDelayedForever
impl RefUnwindSafe for LossyDelayedForever
impl Send for LossyDelayedForever
impl Sync for LossyDelayedForever
impl Unpin for LossyDelayedForever
impl UnsafeUnpin for LossyDelayedForever
impl UnwindSafe for LossyDelayedForever
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<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.