Struct oppgave::TaskGuard [] [src]

pub struct TaskGuard<'a, T: 'a> { /* fields omitted */ }

A wrapper of the fetched task

Pops a task from the backup on drop.

Methods

impl<'a, T> TaskGuard<'a, T>
[src]

Stop the underlying queue

Fail the current task and don't remove it from the backup queue

Get access to the underlying task

Get access to the wrapper queue

Trait Implementations

impl<'a, T> Deref for TaskGuard<'a, T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a, T> Drop for TaskGuard<'a, T>
[src]

A method called when the value goes out of scope. Read more