pub struct ReadySignal { /* private fields */ }Expand description
Service-local handle used to declare startup readiness.
The handle is intentionally tiny and idempotent. It does not expose snapshots, failure marking, partitions, or policy decisions; those remain supervisor-owned concepts.
Implementations§
Source§impl ReadySignal
impl ReadySignal
Sourcepub fn mark_ready(&self)
pub fn mark_ready(&self)
Marks this service ready if it participates in explicit startup readiness. Calling this more than once is harmless.
Trait Implementations§
Source§impl Clone for ReadySignal
impl Clone for ReadySignal
Source§fn clone(&self) -> ReadySignal
fn clone(&self) -> ReadySignal
Returns a duplicate 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 Freeze for ReadySignal
impl RefUnwindSafe for ReadySignal
impl Send for ReadySignal
impl Sync for ReadySignal
impl Unpin for ReadySignal
impl UnsafeUnpin for ReadySignal
impl UnwindSafe for ReadySignal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSupervisorState<S> for Swhere
S: Clone,
impl<S> FromSupervisorState<S> for Swhere
S: Clone,
Source§fn from_state(state: &S) -> S
fn from_state(state: &S) -> S
Projects
Self out of the root supervisor state.