pub struct ActorSystem { /* private fields */ }Implementations§
Source§impl ActorSystem
impl ActorSystem
pub async fn new() -> Self
pub async fn new_config_options( options: impl IntoIterator<Item = ConfigOption>, ) -> Self
pub async fn new_with_config(config: Config) -> Self
pub async fn new_local_pid(&self, id: &str) -> ExtendedPid
pub async fn get_address(&self) -> String
pub async fn get_config(&self) -> Config
pub async fn get_root_context(&self) -> RootContext
pub async fn get_dead_letter(&self) -> ProcessHandle
pub async fn get_process_registry(&self) -> ProcessRegistry
pub async fn get_event_stream(&self) -> Arc<EventStream> ⓘ
pub async fn get_guardians(&self) -> GuardiansValue
Trait Implementations§
Source§impl Clone for ActorSystem
impl Clone for ActorSystem
Source§fn clone(&self) -> ActorSystem
fn clone(&self) -> ActorSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for ActorSystem
impl !UnwindSafe for ActorSystem
impl Freeze for ActorSystem
impl Send for ActorSystem
impl Sync for ActorSystem
impl Unpin for ActorSystem
impl UnsafeUnpin for ActorSystem
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