pub struct SimClusterSender<T: Serialize + DeserializeOwned, O: Ordering, R: Retries>(/* private fields */);Available on crate feature
sim only.Expand description
A sender to an external cluster sink in a simulation.
Each sent value is a (u32, T) tuple where the u32 is the raw
cluster member ID that should receive the value.
Implementations§
Source§impl<T: Serialize + DeserializeOwned> SimClusterSender<T, TotalOrder, ExactlyOnce>
impl<T: Serialize + DeserializeOwned> SimClusterSender<T, TotalOrder, ExactlyOnce>
Auto Trait Implementations§
impl<T, O, R> Freeze for SimClusterSender<T, O, R>
impl<T, O, R> RefUnwindSafe for SimClusterSender<T, O, R>
impl<T, O, R> Send for SimClusterSender<T, O, R>
impl<T, O, R> Sync for SimClusterSender<T, O, R>
impl<T, O, R> Unpin for SimClusterSender<T, O, R>
impl<T, O, R> UnsafeUnpin for SimClusterSender<T, O, R>
impl<T, O, R> UnwindSafe for SimClusterSender<T, O, R>
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.