Struct meio::task::HeartBeat [−][src]
The lite task that sends ticks to a Recipient
.
Implementations
impl HeartBeat
[src]
pub fn new<T>(duration: Duration, address: Address<T>) -> Self where
T: Actor + ActionHandler<Tick>,
[src]
T: Actor + ActionHandler<Tick>,
Creates a new HeartBeat
lite task.
Trait Implementations
impl Debug for HeartBeat
[src]
impl LiteTask for HeartBeat
[src]
type Output = ()
The result of a finished task.
fn repeatable_routine<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Output>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Output>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn retry_delay(&self, _last_attempt: Instant) -> Duration
[src]
fn name(&self) -> String
[src]
#[must_use]fn routine<'async_trait>(
self,
stop: StopReceiver
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self,
stop: StopReceiver
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn interruptable_routine<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>> where
Self: 'async_trait,
fn retry_at(&self, _last_attempt: Instant) -> Instant
[src]
impl<T> TaskEliminated<HeartBeat> for T where
T: OnTick,
[src]
T: OnTick,
Auto Trait Implementations
impl !RefUnwindSafe for HeartBeat
impl Send for HeartBeat
impl !Sync for HeartBeat
impl Unpin for HeartBeat
impl !UnwindSafe for HeartBeat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,