/// Pause a rebuild job in the background
Pause a rebuild job in the background
Pause a rebuild job in the background
pub async fn pause_rebuild(&mut self, name: &str) -> Result<(), Error> {
        let rj = self.get_rebuild_job(name)?.as_client();
        rj.pause().context(RebuildOperationError {
            job: name.to_owned(),
            name: self.name.clone(),
        })
    }
pub async fn pause_rebuild ( & mut self , name : & str ) -> Result < ( ) , Error > { let rj = self . get_rebuild_job ( name ) ? . as_client ( ) ; rj . pause ( ) . context ( RebuildOperationError { job : name . to_owned ( ) , name : self . name . clone ( ) , } ) }
Pause a rebuild job in the background
Pause a rebuild job in the background
&mut self
name
&str