pub enum TaskUpdate<MessageOut, Output> {
Message(MessageOut),
Finished(Output),
}
Expand description
Update message from BackgroundTasks
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<MessageOut, Output> Freeze for TaskUpdate<MessageOut, Output>
impl<MessageOut, Output> RefUnwindSafe for TaskUpdate<MessageOut, Output>where
MessageOut: RefUnwindSafe,
Output: RefUnwindSafe,
impl<MessageOut, Output> Send for TaskUpdate<MessageOut, Output>
impl<MessageOut, Output> Sync for TaskUpdate<MessageOut, Output>
impl<MessageOut, Output> Unpin for TaskUpdate<MessageOut, Output>
impl<MessageOut, Output> UnwindSafe for TaskUpdate<MessageOut, Output>where
MessageOut: UnwindSafe,
Output: 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