Struct jormungandr::utils::fire_forget_scheduler::RunningTask
source · struct RunningTask<TID, WID> {
tid: TID,
wid: WID,
timeout_key: Key,
}
Fields§
§tid: TID
§wid: WID
§timeout_key: Key
Implementations§
source§impl<TID, WID> RunningTask<TID, WID>where
TID: PartialEq,
WID: PartialEq,
impl<TID, WID> RunningTask<TID, WID>where TID: PartialEq, WID: PartialEq,
fn is_timed_out(&self, timed_out: &TimedOutTask<TID, WID>) -> bool
fn is_completed(&self, task: &TID) -> bool
fn is_running_same_task<Data>( &self, scheduled: &ScheduledTask<TID, WID, Data> ) -> bool
Auto Trait Implementations§
impl<TID, WID> RefUnwindSafe for RunningTask<TID, WID>where TID: RefUnwindSafe, WID: RefUnwindSafe,
impl<TID, WID> Send for RunningTask<TID, WID>where TID: Send, WID: Send,
impl<TID, WID> Sync for RunningTask<TID, WID>where TID: Sync, WID: Sync,
impl<TID, WID> Unpin for RunningTask<TID, WID>where TID: Unpin, WID: Unpin,
impl<TID, WID> UnwindSafe for RunningTask<TID, WID>where TID: UnwindSafe, WID: 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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request