pub struct TokioActorSystemHandle { /* private fields */ }Implementations§
Source§impl TokioActorSystemHandle
impl TokioActorSystemHandle
Sourcepub fn new_actor_system(
name: impl Into<String>,
tokio: Option<Runtime>,
join_tasks_on_drop: bool,
) -> Self
pub fn new_actor_system( name: impl Into<String>, tokio: Option<Runtime>, join_tasks_on_drop: bool, ) -> Self
Owns the passed runtime, using it only if no contextual handle is available;
if None is passed, it creates a runtime with multi-threaded support,
CPU-based thread pool size and all features enabled.
Trait Implementations§
Source§impl Clone for TokioActorSystemHandle
impl Clone for TokioActorSystemHandle
Source§fn clone(&self) -> TokioActorSystemHandle
fn clone(&self) -> TokioActorSystemHandle
Returns a copy 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 moreSource§impl Debug for TokioActorSystemHandle
impl Debug for TokioActorSystemHandle
Source§impl Task for TokioActorSystemHandle
impl Task for TokioActorSystemHandle
fn is_finished(&self) -> bool
Auto Trait Implementations§
impl Freeze for TokioActorSystemHandle
impl RefUnwindSafe for TokioActorSystemHandle
impl Send for TokioActorSystemHandle
impl Sync for TokioActorSystemHandle
impl Unpin for TokioActorSystemHandle
impl UnwindSafe for TokioActorSystemHandle
Blanket Implementations§
Source§impl<ActorSystemHandleT> ActorSystemHandle for ActorSystemHandleTwhere
ActorSystemHandleT: ActorSystemHandle + 'static + ?Sized,
impl<ActorSystemHandleT> ActorSystemHandle for ActorSystemHandleTwhere
ActorSystemHandleT: ActorSystemHandle + 'static + ?Sized,
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