fn terminate_rebuild(&self, name: &str) {
        // If a rebuild job is not found that's ok
        // as we were just going to remove it anyway.
        if let Ok(rj) = self.get_rebuild_job(name) {
            let _ = rj.as_client().terminate();
        }
    }
/// Terminates a rebuild in the background
/// used for shutdown operations and
/// unlike the client operation stop, this command does not fail
/// as it overrides the previous client operations
Terminates a rebuild in the background
used for shutdown operations and
unlike the client operation stop, this command does not fail
as it overrides the previous client operations
Terminates a rebuild in the background used for shutdown operations and unlike the client operation stop this command does not fail as it overrides the previous client operations
fn terminate_rebuild(&self, name: &str) {
        // If a rebuild job is not found that's ok
        // as we were just going to remove it anyway.
        if let Ok(rj) = self.get_rebuild_job(name) {
            let _ = rj.as_client().terminate();
        }
    }
fn terminate_rebuild ( & self , name : & str ) { // If a rebuild job is not found that's ok // as we were just going to remove it anyway. if let Ok ( rj ) = self . get_rebuild_job ( name ) { let _ = rj . as_client ( ) . terminate ( ) ; } }
Terminates a rebuild in the background
used for shutdown operations and
unlike the client operation stop, this command does not fail
as it overrides the previous client operations
Terminates a rebuild in the background used for shutdown operations and unlike the client operation stop this command does not fail as it overrides the previous client operations
&self
name
&str
&self
name
&str