#[repr(C)]pub struct OutgoingMessageAddr {
pub to_actor_id: ActorId,
/* private fields */
}Expand description
An outgoing message’s address, targeting either an entire actor or a specific behavior
Fields
to_actor_id: ActorIdImplementations
sourceimpl OutgoingMessageAddr
impl OutgoingMessageAddr
sourcepub fn new(
to_actor_id: ActorId,
behavior_guid: Option<Guid>
) -> Result<Self, ErrorCode>
pub fn new(
to_actor_id: ActorId,
behavior_guid: Option<Guid>
) -> Result<Self, ErrorCode>
Construct a new OutgoingMessageAddr from the provided arguments
Errors
Returns an ErrorCode::InvalidArguments if the lower or higher u64 component
of the provided guid is an INVALID_GUID_COMPONENT
Trait Implementations
sourceimpl Clone for OutgoingMessageAddr
impl Clone for OutgoingMessageAddr
sourcefn clone(&self) -> OutgoingMessageAddr
fn clone(&self) -> OutgoingMessageAddr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OutgoingMessageAddr
impl Debug for OutgoingMessageAddr
sourceimpl PartialEq<OutgoingMessageAddr> for OutgoingMessageAddr
impl PartialEq<OutgoingMessageAddr> for OutgoingMessageAddr
sourcefn eq(&self, other: &OutgoingMessageAddr) -> bool
fn eq(&self, other: &OutgoingMessageAddr) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OutgoingMessageAddr) -> bool
fn ne(&self, other: &OutgoingMessageAddr) -> bool
This method tests for !=.
impl Copy for OutgoingMessageAddr
impl Eq for OutgoingMessageAddr
impl Pod for OutgoingMessageAddr
impl StructuralEq for OutgoingMessageAddr
impl StructuralPartialEq for OutgoingMessageAddr
Auto Trait Implementations
impl RefUnwindSafe for OutgoingMessageAddr
impl Send for OutgoingMessageAddr
impl Sync for OutgoingMessageAddr
impl Unpin for OutgoingMessageAddr
impl UnwindSafe for OutgoingMessageAddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
sourcefn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.