pub fn into_result<D: DurationTicks>(mut self, max_wait: D) -> Result<R, FreeRtosError> {
        self.wait_for_result(max_wait)?;

        if self.finished != true {
            panic!("ComputeTask should be finished!");
        }

        let m = Arc::try_unwrap(self.result)
            .expect("ComputeTask: Arc should have only one reference left!");
        let option_r = m.into_inner();
        let r = option_r.expect("ComputeTask: Result should be a Some(R)!");

        Ok(r)
    }
/// Consume the task and unwrap the computed return value.
Consume the task and unwrap the computed return value.
Consume the task and unwrap the computed return value .
pub fn into_result<D: DurationTicks>(mut self, max_wait: D) -> Result<R, FreeRtosError> {
        self.wait_for_result(max_wait)?;
        if self.finished != true {
            panic!("ComputeTask should be finished!");
        }
        let m = Arc::try_unwrap(self.result)
            .expect("ComputeTask: Arc should have only one reference left!");
        let option_r = m.into_inner();
        let r = option_r.expect("ComputeTask: Result should be a Some(R)!");
        Ok(r)
    }
pub fn into_result < D : DurationTicks > ( mut self , max_wait : D ) -> Result < R , FreeRtosError > { self . wait_for_result ( max_wait ) ? ; if self . finished != true { panic ! ( " " ) ; } let m = Arc :: try_unwrap ( self . result ) . expect ( " " ) ; let option_r = m . into_inner ( ) ; let r = option_r . expect ( " " ) ; Ok ( r ) }
Consume the task and unwrap the computed return value.
Consume the task and unwrap the computed return value .
mut self
max_wait
D
mut self
max_wait
D