Enum total_space::Emit [−][src]
A message sent by an agent as part of an alternative action triggered by some event.
Variants
Immediate(Payload, usize)
Send a message that will be delivered immediately, before any other message is delivered.
Unordered(Payload, usize)
Send an unordered message, which will be delivered at any order relative to the other unordered messages.
Ordered(Payload, usize)
Send an ordered message, which will be delivered after delivering all previous ordered messages from this source agent to the same target agent.
Send an immediate message that will replace the single in-flight message accepted by the
callback, or be created as a new message is the callback accepts None
.
Send an unordered message that will replace the single in-flight message accepted by the
callback, or be created as a new message is the callback accepts None
.
Send an ordered message that will replace the single in-flight message accepted by the
callback, or be created as a new message is the callback accepts None
.
Trait Implementations
impl<Payload: Clone + DataLike> Clone for Emit<Payload>
[src]
impl<Payload: Copy + DataLike> Copy for Emit<Payload>
[src]
impl<Payload: Debug + DataLike> Debug for Emit<Payload>
[src]
impl<Payload: Eq + DataLike> Eq for Emit<Payload>
[src]
impl<Payload: PartialEq + DataLike> PartialEq<Emit<Payload>> for Emit<Payload>
[src]
impl<Payload: DataLike> StructuralEq for Emit<Payload>
[src]
impl<Payload: DataLike> StructuralPartialEq for Emit<Payload>
[src]
Auto Trait Implementations
impl<Payload> RefUnwindSafe for Emit<Payload> where
Payload: RefUnwindSafe,
Payload: RefUnwindSafe,
impl<Payload> Send for Emit<Payload> where
Payload: Send,
Payload: Send,
impl<Payload> Sync for Emit<Payload> where
Payload: Sync,
Payload: Sync,
impl<Payload> Unpin for Emit<Payload> where
Payload: Unpin,
Payload: Unpin,
impl<Payload> UnwindSafe for Emit<Payload> where
Payload: UnwindSafe,
Payload: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,