pub struct Handle<A, E>where
A: Send + 'static,
E: ActorError,{ /* private fields */ }Expand description
Cloneable handle to send actions to actor A with error type E.
Thread-safe. Actions run sequentially on the actor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A, E> Freeze for Handle<A, E>
impl<A, E> RefUnwindSafe for Handle<A, E>where
E: RefUnwindSafe,
impl<A, E> Send for Handle<A, E>
impl<A, E> Sync for Handle<A, E>where
E: Sync,
impl<A, E> Unpin for Handle<A, E>where
E: Unpin,
impl<A, E> UnwindSafe for Handle<A, E>where
E: 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