Struct System

Source
pub(crate) struct System<Actor1ActorSystemT, Actor2ActorSystemT>
where Actor1ActorSystemT: ActorSystemHandle + Debug + Send + 'static, Actor2ActorSystemT: ActorSystemHandle + 'static, Actor1ActorSystemT::ActorRefT<Ping>: Clone,
{ pub(crate) actor1_ref: Actor1ActorSystemT::ActorRefT<Ping>, pub(crate) actor2_ref: Actor2ActorSystemT::ActorRefT<Actor1ToActor2<Actor1ActorSystemT::ActorRefT<Ping>>>, pub(crate) actor1_actor_system_type: PhantomData<Actor1ActorSystemT>, }

Fields§

§actor1_ref: Actor1ActorSystemT::ActorRefT<Ping>§actor2_ref: Actor2ActorSystemT::ActorRefT<Actor1ToActor2<Actor1ActorSystemT::ActorRefT<Ping>>>§actor1_actor_system_type: PhantomData<Actor1ActorSystemT>

Implementations§

Source§

impl<Actor1ActorSystemT, Actor2ActorSystemT> System<Actor1ActorSystemT, Actor2ActorSystemT>
where Actor1ActorSystemT: ActorSystemHandle + Debug + Send + 'static, Actor2ActorSystemT: ActorSystemHandle + 'static, Actor1ActorSystemT::ActorRefT<Ping>: Clone,

Source

pub(crate) fn new( actor1_ref: Actor1ActorSystemT::ActorRefT<Ping>, actor2_ref: Actor2ActorSystemT::ActorRefT<Actor1ToActor2<Actor1ActorSystemT::ActorRefT<Ping>>>, ) -> Self

Auto Trait Implementations§

§

impl<Actor1ActorSystemT, Actor2ActorSystemT> Freeze for System<Actor1ActorSystemT, Actor2ActorSystemT>
where <Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>: Sized + Freeze, <Actor2ActorSystemT as ActorSystemHandle>::ActorRefT<Actor1ToActor2<<Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>>>: Freeze,

§

impl<Actor1ActorSystemT, Actor2ActorSystemT> RefUnwindSafe for System<Actor1ActorSystemT, Actor2ActorSystemT>
where <Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>: Sized + RefUnwindSafe, <Actor2ActorSystemT as ActorSystemHandle>::ActorRefT<Actor1ToActor2<<Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>>>: RefUnwindSafe, Actor1ActorSystemT: RefUnwindSafe,

§

impl<Actor1ActorSystemT, Actor2ActorSystemT> Send for System<Actor1ActorSystemT, Actor2ActorSystemT>
where <Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>: Sized,

§

impl<Actor1ActorSystemT, Actor2ActorSystemT> Sync for System<Actor1ActorSystemT, Actor2ActorSystemT>
where <Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>: Sized + Sync, <Actor2ActorSystemT as ActorSystemHandle>::ActorRefT<Actor1ToActor2<<Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>>>: Sync, Actor1ActorSystemT: Sync,

§

impl<Actor1ActorSystemT, Actor2ActorSystemT> Unpin for System<Actor1ActorSystemT, Actor2ActorSystemT>
where <Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>: Sized + Unpin, <Actor2ActorSystemT as ActorSystemHandle>::ActorRefT<Actor1ToActor2<<Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>>>: Unpin, Actor1ActorSystemT: Unpin,

§

impl<Actor1ActorSystemT, Actor2ActorSystemT> UnwindSafe for System<Actor1ActorSystemT, Actor2ActorSystemT>
where <Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>: Sized + UnwindSafe, <Actor2ActorSystemT as ActorSystemHandle>::ActorRefT<Actor1ToActor2<<Actor1ActorSystemT as ActorSystemHandle>::ActorRefT<Ping>>>: UnwindSafe, Actor1ActorSystemT: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.