pub struct DropConfigFile<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T: WritableConfig> LiteTask for DropConfigFile<T>
impl<T: WritableConfig> LiteTask for DropConfigFile<T>
Source§fn interruptable_routine<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
fn interruptable_routine<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
Routine that can be unconditionally interrupted.
Source§fn routine<'async_trait>(
self,
stop: StopReceiver,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
fn routine<'async_trait>(
self,
stop: StopReceiver,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
Routine of the task that can contain loops.
It can taks into accout provided receiver to implement graceful interruption. Read more
Source§fn pre_repeatable_routine<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn pre_repeatable_routine<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Called before
repeatable_routine for initialization.
The routine will be interrupted if this method failed.Auto Trait Implementations§
impl<T> Freeze for DropConfigFile<T>
impl<T> RefUnwindSafe for DropConfigFile<T>where
T: RefUnwindSafe,
impl<T> Send for DropConfigFile<T>where
T: Send,
impl<T> Sync for DropConfigFile<T>where
T: Sync,
impl<T> Unpin for DropConfigFile<T>where
T: Unpin,
impl<T> UnwindSafe for DropConfigFile<T>where
T: 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