pub struct ReactorTopology<E: Send + 'static> { /* private fields */ }Trait Implementations§
Source§impl<E: Send + 'static> Topology for ReactorTopology<E>
impl<E: Send + 'static> Topology for ReactorTopology<E>
Source§type Handles = ReactorHandles
type Handles = ReactorHandles
The handle bundle returned after materialization.
Source§fn materialize<'life0, 'async_trait>(
self,
_system: &'life0 ActorSystem,
) -> Pin<Box<dyn Future<Output = Result<ReactorHandles, PatternError<()>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn materialize<'life0, 'async_trait>(
self,
_system: &'life0 ActorSystem,
) -> Pin<Box<dyn Future<Output = Result<ReactorHandles, PatternError<()>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Spawn the pattern’s actors and start its streams. Idempotent
w.r.t. the returned handles, but each call to
materialize
spawns a fresh subtree — invoke it once per pattern instance.Auto Trait Implementations§
impl<E> Freeze for ReactorTopology<E>
impl<E> !RefUnwindSafe for ReactorTopology<E>
impl<E> Send for ReactorTopology<E>
impl<E> Sync for ReactorTopology<E>
impl<E> Unpin for ReactorTopology<E>
impl<E> UnsafeUnpin for ReactorTopology<E>
impl<E> !UnwindSafe for ReactorTopology<E>
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