pub struct ActorRunner<T: Runnable + Send + Sync + 'static> { /* private fields */ }
Implementations§
Source§impl<T: Runnable + Send + Sync + 'static> ActorRunner<T>
impl<T: Runnable + Send + Sync + 'static> ActorRunner<T>
pub fn new(actor: T, execution_pool: Arc<ThreadPool>) -> ActorRunner<T>
pub fn schedule(&self)
pub fn complete(&self)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ActorRunner<T>
impl<T> RefUnwindSafe for ActorRunner<T>where
T: RefUnwindSafe,
impl<T> Send for ActorRunner<T>
impl<T> Sync for ActorRunner<T>
impl<T> Unpin for ActorRunner<T>
impl<T> UnwindSafe for ActorRunner<T>where
T: RefUnwindSafe,
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