fn finish(&mut self, option_list: Vec<&mut Box<dyn FinishSpanOption>>) {
        let mut options = FinishSpanOptions {
            finish_steady_timestamp: Instant::now(),
            log_records: Vec::new(),
        };

        for option in option_list {
            option.apply(&mut options);
        }

        self.finish_with_options(&options);
    }
/// Sets the end timestamp and finalizes Span state.
///
/// If Finish is called a second time, it is guaranteed to do nothing.
Sets the end timestamp and finalizes Span state.
If Finish is called a second time, it is guaranteed to do nothing.
Sets the end timestamp and finalizes Span state . If Finish is called a second time it is guaranteed to do nothing .
fn finish(&mut self, option_list: Vec<&mut Box<dyn FinishSpanOption>>) {
        let mut options = FinishSpanOptions {
            finish_steady_timestamp: Instant::now(),
            log_records: Vec::new(),
        };
        for option in option_list {
            option.apply(&mut options);
        }
        self.finish_with_options(&options);
    }
fn finish ( & mut self , option_list : Vec < & mut Box < dyn FinishSpanOption > > ) { let mut options = FinishSpanOptions { finish_steady_timestamp : Instant :: now ( ) , log_records : Vec :: new ( ) , } ; for option in option_list { option . apply ( & mut options ) ; } self . finish_with_options ( & options ) ; }
Sets the end timestamp and finalizes Span state.
Sets the end timestamp and finalizes Span state .
&mut self
option_list
Vec<&mut Box<dyn FinishSpanOption>>
&mut self
option_list
Vec<&mut Box<dyn FinishSpanOption>>