[−][src]Struct coerce_rt::actor::scheduler::ActorScheduler
Methods
impl ActorScheduler
[src]
pub fn new() -> ActorRef<ActorScheduler>
[src]
Trait Implementations
impl Actor for ActorScheduler
[src]
fn started<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
[src]
&'life0 mut self,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
fn stopped<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
[src]
&'life0 mut self,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
impl Handler<DeregisterActor> for ActorScheduler
[src]
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
msg: DeregisterActor,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
msg: DeregisterActor,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<A: Actor> Handler<GetActor<A>> for ActorScheduler where
A: 'static + Sync + Send,
[src]
A: 'static + Sync + Send,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
message: GetActor<A>,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = Option<ActorRef<A>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
message: GetActor<A>,
_ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = Option<ActorRef<A>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<A: Actor> Handler<RegisterActor<A>> for ActorScheduler where
A: 'static + Sync + Send,
[src]
A: 'static + Sync + Send,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
message: RegisterActor<A>,
ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ActorRef<A>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
message: RegisterActor<A>,
ctx: &'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ActorRef<A>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for ActorScheduler
impl Send for ActorScheduler
impl Sync for ActorScheduler
impl Unpin for ActorScheduler
impl !UnwindSafe for ActorScheduler
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<A> GetActorRef for A where
A: Actor,
[src]
A: Actor,
impl<F, A, R> Handler<Exec<F, A, R>> for A where
A: 'static + Actor + Sync + Send,
F: FnMut(&mut A) -> R + 'static + Send + Sync,
R: 'static + Send + Sync,
[src]
A: 'static + Actor + Sync + Send,
F: FnMut(&mut A) -> R + 'static + Send + Sync,
R: 'static + Send + Sync,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut Self,
Exec<F, A, R>,
&'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = R> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
A: 'async_trait,
[src]
&'life0 mut Self,
Exec<F, A, R>,
&'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = R> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
A: 'async_trait,
impl<A> Handler<Status> for A where
A: 'static + Actor + Sync + Send,
[src]
A: 'static + Actor + Sync + Send,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut Self,
Status,
&'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ActorStatus> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
A: 'async_trait,
[src]
&'life0 mut Self,
Status,
&'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ActorStatus> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
A: 'async_trait,
impl<A> Handler<Stop> for A where
A: Actor + 'static + Sync + Send,
[src]
A: Actor + 'static + Sync + Send,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut Self,
Stop,
&'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ActorStatus> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
A: 'async_trait,
[src]
&'life0 mut Self,
Stop,
&'life1 mut ActorHandlerContext
) -> Pin<Box<dyn Future<Output = ActorStatus> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
A: 'async_trait,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,