pub struct SupervisorSends<A: Address, Sends, C: Behavior<Addr = A>> {
pub behavior: Sends,
pub child_observations: ServiceSends<ObserveChild<A::Nonce>>,
pub replacement_commands: Vec<Delivery<A, ProxyCommand<C>>>,
}Expand description
Named effect lanes emitted by a supervised behavior.
Fields§
§behavior: Sends§child_observations: ServiceSends<ObserveChild<A::Nonce>>§replacement_commands: Vec<Delivery<A, ProxyCommand<C>>>Trait Implementations§
Source§impl<A, Sends, C> SendAlgebra for SupervisorSends<A, Sends, C>
impl<A, Sends, C> SendAlgebra for SupervisorSends<A, Sends, C>
Source§impl<A, Sends, C> SendInput<Delivery<A, ProxyCommand<C>>, Own> for SupervisorSends<A, Sends, C>
impl<A, Sends, C> SendInput<Delivery<A, ProxyCommand<C>>, Own> for SupervisorSends<A, Sends, C>
fn emit(&mut self, input: Delivery<A, ProxyCommand<C>>)
Source§impl<A, Sends, C, Input, Path> SendInput<Input, Inner<Path>> for SupervisorSends<A, Sends, C>
impl<A, Sends, C, Input, Path> SendInput<Input, Inner<Path>> for SupervisorSends<A, Sends, C>
Source§impl<A, Sends, C> SendInput<ObserveChild<<A as Address>::Nonce>, Own> for SupervisorSends<A, Sends, C>
impl<A, Sends, C> SendInput<ObserveChild<<A as Address>::Nonce>, Own> for SupervisorSends<A, Sends, C>
fn emit(&mut self, input: ObserveChild<A::Nonce>)
Auto Trait Implementations§
impl<A, Sends, C> Freeze for SupervisorSends<A, Sends, C>where
Sends: Freeze,
impl<A, Sends, C> RefUnwindSafe for SupervisorSends<A, Sends, C>where
Sends: RefUnwindSafe,
<A as Address>::Nonce: RefUnwindSafe,
<C as Behavior>::Msg: RefUnwindSafe,
C: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, Sends, C> Send for SupervisorSends<A, Sends, C>
impl<A, Sends, C> Sync for SupervisorSends<A, Sends, C>
impl<A, Sends, C> Unpin for SupervisorSends<A, Sends, C>
impl<A, Sends, C> UnsafeUnpin for SupervisorSends<A, Sends, C>where
Sends: UnsafeUnpin,
impl<A, Sends, C> UnwindSafe for SupervisorSends<A, Sends, C>where
Sends: UnwindSafe,
<A as Address>::Nonce: UnwindSafe,
<C as Behavior>::Msg: UnwindSafe,
C: UnwindSafe,
A: UnwindSafe,
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