pub struct ClusterReceptionist { /* private fields */ }Implementations§
Source§impl ClusterReceptionist
impl ClusterReceptionist
pub fn new() -> Arc<Self>
pub fn register(&self, name: impl Into<String>, r: UntypedActorRef)
pub fn lookup(&self, name: &str) -> Option<UntypedActorRef>
pub fn unregister(&self, name: &str)
pub fn registered(&self) -> Vec<String>
Trait Implementations§
Source§impl Default for ClusterReceptionist
impl Default for ClusterReceptionist
Source§fn default() -> ClusterReceptionist
fn default() -> ClusterReceptionist
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ClusterReceptionist
impl !RefUnwindSafe for ClusterReceptionist
impl Send for ClusterReceptionist
impl Sync for ClusterReceptionist
impl Unpin for ClusterReceptionist
impl UnsafeUnpin for ClusterReceptionist
impl !UnwindSafe for ClusterReceptionist
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