/// Try to obtain a lock and mutable access to our inner value
Try to obtain a lock and mutable access to our inner value
Try to obtain a lock and mutable access to our inner value
pub fn lock<D: DurationTicks>(&self, max_wait: D) -> Result<MutexGuard<T, M>, FreeRtosError> {
        self.mutex.take(max_wait)?;
        Ok(MutexGuard {
            __mutex: &self.mutex,
            __data: &self.data,
        })
    }
pub fn lock < D : DurationTicks > ( & self , max_wait : D ) -> Result < MutexGuard < T , M > , FreeRtosError > { self . mutex . take ( max_wait ) ? ; Ok ( MutexGuard { __mutex : & self . mutex , __data : & self . data , } ) }
Try to obtain a lock and mutable access to our inner value
Try to obtain a lock and mutable access to our inner value
&self
max_wait
D