pub struct EpicCompletionHandle {
pub root_ecb_id: EcbId,
epic_status: Arc<AtomicU8>,
pub completion_timestamp: Arc<RwLock<Option<Instant>>>,
epic_done_notify: Arc<Notify>,
}Fields§
§root_ecb_id: EcbId§epic_status: Arc<AtomicU8>§completion_timestamp: Arc<RwLock<Option<Instant>>>§epic_done_notify: Arc<Notify>Implementations§
source§impl EpicCompletionHandle
impl EpicCompletionHandle
pub fn new_triggered(root_ecb_id: EcbId) -> Self
pub fn new_completed(root_ecb_id: EcbId) -> Self
pub async fn await_completion(&self)
pub fn mark_completed_and_notify(&self, completion_timestamp: Option<Instant>)
pub fn mark_completed(&self)
pub fn notify_all(&self)
pub async fn get_status(&self) -> EpicStatus
Trait Implementations§
source§impl Clone for EpicCompletionHandle
impl Clone for EpicCompletionHandle
source§fn clone(&self) -> EpicCompletionHandle
fn clone(&self) -> EpicCompletionHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for EpicCompletionHandle
impl Send for EpicCompletionHandle
impl Sync for EpicCompletionHandle
impl Unpin for EpicCompletionHandle
impl !UnwindSafe for EpicCompletionHandle
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> 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> 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