pub struct Event<R, K> {
pub kind: K,
/* private fields */
}Fields§
§kind: KImplementations§
Source§impl<R> Event<R, PendingTask>
impl<R> Event<R, PendingTask>
pub async fn run(self) -> Result<(), RuntimeError>
Source§impl<R> Event<R, Quit>
impl<R> Event<R, Quit>
pub async fn stop_tasks(self) -> Result<(), RuntimeError>
Source§impl<R> Event<R, MainActorOutcome>
impl<R> Event<R, MainActorOutcome>
pub async fn remove_actor_entry(self) -> Result<(), RuntimeError>
Trait Implementations§
Source§impl<R, K, O> EventResolve<O> for Event<R, K>
impl<R, K, O> EventResolve<O> for Event<R, K>
Auto Trait Implementations§
impl<R, K> Freeze for Event<R, K>where
K: Freeze,
impl<R, K> !RefUnwindSafe for Event<R, K>
impl<R, K> Send for Event<R, K>
impl<R, K> Sync for Event<R, K>
impl<R, K> Unpin for Event<R, K>where
K: Unpin,
impl<R, K> !UnwindSafe for Event<R, K>
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