pub struct ActorId(pub [u8; 32]);Expand description
Program identifier.
Gear allows users and programs to interact with other users and programs via
messages. ActorId struct represents the 256-bit identifier of the
source/target program or user. For example, the source ActorId for a
processing message can be obtained using the
msg::source function. Also, each send function has
an ActorId target as one of the arguments.
Tuple Fields§
§0: [u8; 32]Implementations§
Trait Implementations§
source§impl Ord for ActorId
impl Ord for ActorId
source§impl PartialEq for ActorId
impl PartialEq for ActorId
source§impl PartialOrd for ActorId
impl PartialOrd for ActorId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ActorId
impl Eq for ActorId
impl StructuralPartialEq for ActorId
Auto Trait Implementations§
impl Freeze for ActorId
impl RefUnwindSafe for ActorId
impl Send for ActorId
impl Sync for ActorId
impl Unpin for ActorId
impl UnwindSafe for ActorId
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