pub(crate) struct Task {
task: UnownedTask<BlockingSchedule>,
mandatory: Mandatory,
}
Fields§
§task: UnownedTask<BlockingSchedule>
§mandatory: Mandatory
Implementations§
source§impl Task
impl Task
pub(crate) fn new( task: UnownedTask<BlockingSchedule>, mandatory: Mandatory, ) -> Task
fn run(self)
fn shutdown_or_run_if_mandatory(self)
Auto Trait Implementations§
impl Freeze for Task
impl !RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl !UnwindSafe for Task
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