pub enum Identifier<'a> {
Local(u64),
LocalNamed(&'a str),
}Expand description
§Identifier
Identifies an individual actor on a given system. There are two variants: one for actors on the current system, and one on a foreign system.
These are called Identifier::Local and [Identifier::Foreign] respectively.
Variants§
Local(u64)
Identifies an actor on the current system. Contains the actor’s id as a 64-bit integer.
LocalNamed(&'a str)
Identifies an actor on the current system. Contains the actor’s name
Trait Implementations§
Source§impl<'a> Debug for Identifier<'a>
impl<'a> Debug for Identifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for Identifier<'a>
impl<'a> RefUnwindSafe for Identifier<'a>
impl<'a> Send for Identifier<'a>
impl<'a> Sync for Identifier<'a>
impl<'a> Unpin for Identifier<'a>
impl<'a> UnwindSafe for Identifier<'a>
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