pub struct ActiveTrace { /* private fields */ }
Implementations§
Source§impl ActiveTrace
impl ActiveTrace
pub async fn put_checkpoint( &self, id: CheckpointId, label: Option<String>, result: Result<(), String>, ) -> Result<()>
pub async fn put_metrics( &self, node_id: NodeId, checkpoint_id: Option<CheckpointId>, metrics: Update, ) -> Result<()>
pub async fn put_logs(&self, json_lines: Vec<String>) -> Result<()>
pub async fn wait_start( &self, info: NodeInfoWithAddr, ) -> Result<Vec<NodeInfoWithAddr>>
pub async fn wait_checkpoint(&self, checkpoint_id: CheckpointId) -> Result<()>
pub async fn end(&self, result: Result<(), String>) -> Result<()>
Trait Implementations§
Source§impl Clone for ActiveTrace
impl Clone for ActiveTrace
Source§fn clone(&self) -> ActiveTrace
fn clone(&self) -> ActiveTrace
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 Freeze for ActiveTrace
impl !RefUnwindSafe for ActiveTrace
impl Send for ActiveTrace
impl Sync for ActiveTrace
impl Unpin for ActiveTrace
impl !UnwindSafe for ActiveTrace
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