Struct aurum_actors::core::Destination [−][src]
pub struct Destination<U: UnifiedType + Case<I>, I> { /* fields omitted */ }
Expand description
The local part of an actor’s messaging address.
Implementations
Forges a new Destination
.
Returns the ActorId
component of this Destination
.
Tests whether the ActorId
held by this Destination
can receive messages of its
interface type.
Trait Implementations
impl<'de, U: UnifiedType + Case<I>, I> Deserialize<'de> for Destination<U, I> where
U: Serialize + DeserializeOwned,
impl<'de, U: UnifiedType + Case<I>, I> Deserialize<'de> for Destination<U, I> where
U: Serialize + DeserializeOwned,
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
impl<U: UnifiedType + Case<I>, I> Serialize for Destination<U, I> where
U: Serialize + DeserializeOwned,
impl<U: UnifiedType + Case<I>, I> Serialize for Destination<U, I> where
U: Serialize + DeserializeOwned,
Auto Trait Implementations
impl<U, I> RefUnwindSafe for Destination<U, I> where
I: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, I> Send for Destination<U, I> where
I: Send,
impl<U, I> Sync for Destination<U, I> where
I: Sync,
impl<U, I> Unpin for Destination<U, I> where
I: Unpin,
U: Unpin,
impl<U, I> UnwindSafe for Destination<U, I> where
I: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub unsafe fn to_subset_unchecked(&self) -> SS
pub unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V