pub struct RemoteSystemDaemon { /* private fields */ }Implementations§
Source§impl RemoteSystemDaemon
impl RemoteSystemDaemon
pub fn new( system: ActorSystem, registry: SerializerRegistry, endpoint_manager: EndpointManager, local_uid: u64, ) -> Arc<Self> ⓘ
pub fn registry(&self) -> &SerializerRegistry
pub fn system(&self) -> &ActorSystem
Sourcepub fn register(&self, path: ActorPath, dispatch: LocalDispatch)
pub fn register(&self, path: ActorPath, dispatch: LocalDispatch)
Register a dispatcher for inbound messages addressed to path.
pub fn unregister(&self, path: &ActorPath)
pub fn clear(&self)
pub fn dispatch_user( &self, path: &ActorPath, manifest: &str, serializer_id: u32, bytes: &[u8], ) -> Result<(), SerializeError>
pub fn dispatch_system(&self, path: &ActorPath, msg: RemoteSystemMsg)
Sourcepub fn notify_terminated(&self, path: &ActorPath)
pub fn notify_terminated(&self, path: &ActorPath)
Notify all remote watchers of path that the actor has stopped.
Trait Implementations§
Source§impl Clone for RemoteSystemDaemon
impl Clone for RemoteSystemDaemon
Source§fn clone(&self) -> RemoteSystemDaemon
fn clone(&self) -> RemoteSystemDaemon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemoteSystemDaemon
impl !RefUnwindSafe for RemoteSystemDaemon
impl Send for RemoteSystemDaemon
impl Sync for RemoteSystemDaemon
impl Unpin for RemoteSystemDaemon
impl UnsafeUnpin for RemoteSystemDaemon
impl !UnwindSafe for RemoteSystemDaemon
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