pub struct TaskReporter { /* private fields */ }Expand description
Transferable completion signal owned by an executor adapter. Drop means the task stopped without normal completion, usually after an abort request.
Implementations§
Source§impl TaskReporter
impl TaskReporter
pub fn finish(self, outcome: TaskStatus)
Trait Implementations§
Source§impl Drop for TaskReporter
impl Drop for TaskReporter
Auto Trait Implementations§
impl Freeze for TaskReporter
impl RefUnwindSafe for TaskReporter
impl Send for TaskReporter
impl Sync for TaskReporter
impl Unpin for TaskReporter
impl UnsafeUnpin for TaskReporter
impl UnwindSafe for TaskReporter
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.