pub struct ListenerActor<L>(pub L, pub CancellationToken, pub Guard);Tuple Fields§
§0: L§1: CancellationToken§2: GuardTrait Implementations§
Auto Trait Implementations§
impl<L> Freeze for ListenerActor<L>where
L: Freeze,
impl<L> RefUnwindSafe for ListenerActor<L>where
L: RefUnwindSafe,
impl<L> Send for ListenerActor<L>where
L: Send,
impl<L> Sync for ListenerActor<L>where
L: Sync,
impl<L> Unpin for ListenerActor<L>where
L: Unpin,
impl<L> UnwindSafe for ListenerActor<L>where
L: UnwindSafe,
Blanket Implementations§
Source§impl<A> ActorExt for Awhere
A: Actor,
impl<A> ActorExt for Awhere
A: Actor,
fn with<L>(self, launch: L) -> <L as Launch>::Result<Self>
fn start_with( self, inbox: impl Inbox<Item = Self::Message> + 'static, ) -> JoinHandle<()>
fn start_with_mailbox_capacity( self, mailbox_capacity: usize, ) -> BoundedOutbox<Self::Message>
fn start(self) -> UnboundedOutbox<Self::Message>
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