pub struct ReadinessToken { /* private fields */ }Expand description
A per-component handle used to mark startup progress.
Implementations§
Source§impl ReadinessToken
impl ReadinessToken
Sourcepub fn component_started(&self)
pub fn component_started(&self)
Mark this component as started.
Trait Implementations§
Source§impl Clone for ReadinessToken
impl Clone for ReadinessToken
Source§fn clone(&self) -> ReadinessToken
fn clone(&self) -> ReadinessToken
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 moreSource§impl Default for ReadinessToken
impl Default for ReadinessToken
Source§fn default() -> ReadinessToken
fn default() -> ReadinessToken
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReadinessToken
impl !RefUnwindSafe for ReadinessToken
impl Send for ReadinessToken
impl Sync for ReadinessToken
impl Unpin for ReadinessToken
impl !UnwindSafe for ReadinessToken
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