pub struct RemoteSystemConfig { /* private fields */ }Implementations§
Source§impl RemoteSystemConfig
impl RemoteSystemConfig
pub fn new( node_tag: String, node_version: String, actor_types: HashMap<TypeId, String>, handler_types: HashMap<TypeId, String>, message_handlers: HashMap<String, Box<dyn ActorMessageHandler + Send + Sync>>, actor_handlers: HashMap<String, Box<dyn ActorHandler + Send + Sync>>, heartbeat_config: HeartbeatConfig, node_attributes: NodeAttributesRef, security: RemoteSystemSecurity, ) -> RemoteSystemConfig
pub fn node_tag(&self) -> &str
pub fn node_version(&self) -> &str
pub fn handler_name<A: Actor, M: Message>(&self) -> Option<String>
pub fn actor_name<A>(&self, marker: RemoteActorMarker<A>) -> Option<String>
pub fn message_handler( &self, key: &str, ) -> Option<Box<dyn ActorMessageHandler + Send + Sync>>
pub fn actor_handler( &self, key: &str, ) -> Option<Box<dyn ActorHandler + Send + Sync>>
pub fn heartbeat_config(&self) -> &HeartbeatConfig
pub fn get_capabilities(&self) -> SystemCapabilities
pub fn get_attributes(&self) -> &NodeAttributesRef
pub fn security(&self) -> &RemoteSystemSecurity
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteSystemConfig
impl !UnwindSafe for RemoteSystemConfig
impl Freeze for RemoteSystemConfig
impl Send for RemoteSystemConfig
impl Sync for RemoteSystemConfig
impl Unpin for RemoteSystemConfig
impl UnsafeUnpin for RemoteSystemConfig
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