Struct tiny_tokio_actor::ActorPath
source · pub struct ActorPath(_);Expand description
Unique identifier for running actors.
Implementations§
source§impl ActorPath
impl ActorPath
pub fn is_empty(&self) -> bool
pub fn root(&self) -> Self
pub fn parent(&self) -> Self
pub fn key(&self) -> String
pub fn level(&self) -> usize
pub fn at_level(&self, level: usize) -> Self
pub fn is_ancestor_of(&self, other: &ActorPath) -> bool
pub fn is_descendant_of(&self, other: &ActorPath) -> bool
pub fn is_parent_of(&self, other: &ActorPath) -> bool
pub fn is_child_of(&self, other: &ActorPath) -> bool
pub fn is_top_level(&self) -> bool
Trait Implementations§
source§impl Ord for ActorPath
impl Ord for ActorPath
source§impl PartialEq<ActorPath> for ActorPath
impl PartialEq<ActorPath> for ActorPath
source§impl PartialOrd<ActorPath> for ActorPath
impl PartialOrd<ActorPath> for ActorPath
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 more