pub struct DynamicIsolatedService(/* private fields */);Trait Implementations§
Source§impl IsolatedService for DynamicIsolatedService
impl IsolatedService for DynamicIsolatedService
Source§fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
only runs once at the start
Source§fn main<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn main<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
loops
Source§fn repeat<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn repeat<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
runs after main if main or repeat did not return errors
Source§fn catch<'life0, 'async_trait>(
&'life0 mut self,
error: Error,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn catch<'life0, 'async_trait>(
&'life0 mut self,
error: Error,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
runs after main if main returned an error
Source§fn abort<'life0, 'async_trait>(
&'life0 mut self,
error: Error,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn abort<'life0, 'async_trait>(
&'life0 mut self,
error: Error,
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
run if catch was not successful
fn to_dyn(self) -> DynamicIsolatedService
Auto Trait Implementations§
impl Freeze for DynamicIsolatedService
impl !RefUnwindSafe for DynamicIsolatedService
impl Send for DynamicIsolatedService
impl Sync for DynamicIsolatedService
impl Unpin for DynamicIsolatedService
impl !UnwindSafe for DynamicIsolatedService
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