pub struct Props<Args: Arguments, A: Actor> { /* private fields */ }
Expand description
Props is the current only ActorFactory.
It is used to generate actors in a reliable way, calling create
will always create the same
actor insatance, it is thus the way used to create actors through this crate.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Args, A> Freeze for Props<Args, A>where
Args: Freeze,
impl<Args, A> !RefUnwindSafe for Props<Args, A>
impl<Args, A> Send for Props<Args, A>
impl<Args, A> Sync for Props<Args, A>
impl<Args, A> Unpin for Props<Args, A>where
Args: Unpin,
impl<Args, A> !UnwindSafe for Props<Args, A>
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