pub fn light_clone(&self) -> Self {
        ChainController {
            state: self.state.clone(),
            // This instance doesn't share the stop handle: it's not a
            // publicly accessible instance
            stop_handle: Arc::new(Mutex::new(None)),
            block_queue_sender: self.block_queue_sender.clone(),
            commit_queue_sender: self.commit_queue_sender.clone(),
            validation_result_sender: self.validation_result_sender.clone(),
            state_pruning_block_depth: self.state_pruning_block_depth,
            chain_head_lock: self.chain_head_lock.clone(),
            consensus_notifier: self.consensus_notifier.clone(),
        }
    }
/// Light clone makes a copy of this controller, without access to the stop
/// handle.
Light clone makes a copy of this controller, without access to the stop
handle.
Light clone makes a copy of this controller without access to the stop handle .
pub fn light_clone(&self) -> Self {
        ChainController {
            state: self.state.clone(),
            // This instance doesn't share the stop handle: it's not a
            // publicly accessible instance
            stop_handle: Arc::new(Mutex::new(None)),
            block_queue_sender: self.block_queue_sender.clone(),
            commit_queue_sender: self.commit_queue_sender.clone(),
            validation_result_sender: self.validation_result_sender.clone(),
            state_pruning_block_depth: self.state_pruning_block_depth,
            chain_head_lock: self.chain_head_lock.clone(),
            consensus_notifier: self.consensus_notifier.clone(),
        }
    }
pub fn light_clone ( & self ) -> Self { ChainController { state : self . state . clone ( ) , // This instance doesn't share the stop handle: it's not a // publicly accessible instance stop_handle : Arc :: new ( Mutex :: new ( None ) ) , block_queue_sender : self . block_queue_sender . clone ( ) , commit_queue_sender : self . commit_queue_sender . clone ( ) , validation_result_sender : self . validation_result_sender . clone ( ) , state_pruning_block_depth : self . state_pruning_block_depth , chain_head_lock : self . chain_head_lock . clone ( ) , consensus_notifier : self . consensus_notifier . clone ( ) , } }
Light clone makes a copy of this controller, without access to the stop
handle.
Light clone makes a copy of this controller without access to the stop handle .
&self
&self