fn extract_compatible_request(&self, req: &MultiPlatformProcess) -> Option<Process> {
    for compatible_constraint in vec![
      &(PlatformConstraint::None, PlatformConstraint::None),
      &(self.platform.into(), PlatformConstraint::None),
      &(
        self.platform.into(),
        PlatformConstraint::current_platform_constraint().unwrap(),
      ),
    ]
    .iter()
    {
      if let Some(compatible_req) = req.0.get(compatible_constraint) {
        return Some(compatible_req.clone());
      }
    }
    None
  }
// TODO: This is a copy of the same method on crate::remote::CommandRunner.
This is a copy of the same method on crate::remote::CommandRunner.
This is a copy of the same method on crate :: remote :: CommandRunner .
fn extract_compatible_request(&self, req: &MultiPlatformProcess) -> Option<Process> {
    for compatible_constraint in vec![
      &(PlatformConstraint::None, PlatformConstraint::None),
      &(self.platform.into(), PlatformConstraint::None),
      &(
        self.platform.into(),
        PlatformConstraint::current_platform_constraint().unwrap(),
      ),
    ]
    .iter()
    {
      if let Some(compatible_req) = req.0.get(compatible_constraint) {
        return Some(compatible_req.clone());
      }
    }
    None
  }
fn extract_compatible_request ( & self , req : & MultiPlatformProcess ) -> Option < Process > { for compatible_constraint in vec ! [ ( PlatformConstraint None PlatformConstraint None ) ( self platform into ( ) PlatformConstraint None ) ( self platform into ( ) PlatformConstraint current_platform_constraint ( ) unwrap ( ) ) ] . iter ( ) { if let Some ( compatible_req ) = req . 0 . get ( compatible_constraint ) { return Some ( compatible_req . clone ( ) ) ; } } None }
TODO: This is a copy of the same method on crate::remote::CommandRunner.
TODO : This is a copy of the same method on crate :: remote :: CommandRunner .
&self
req
&MultiPlatformProcess
&self
req
&MultiPlatformProcess