pub fn try_lock(&self) -> TryLockResult<MutexGuard<T>> {
        unsafe {
            if self.inner.lock.try_lock() {
                Ok(try!(MutexGuard::new(&*self.inner, &self.data)))
            } else {
                Err(TryLockError::WouldBlock)
            }
        }
    }
/// Attempts to acquire this lock.
///
/// If the lock could not be acquired at this time, then `Err` is returned.
/// Otherwise, an RAII guard is returned. The lock will be unlocked when the
/// guard is dropped.
///
/// This function does not block.
///
/// # Failure
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return failure if the mutex would otherwise be
/// acquired.
Attempts to acquire this lock.
If the lock could not be acquired at this time, then `Err` is returned.
Otherwise, an RAII guard is returned. The lock will be unlocked when the
guard is dropped.

This function does not block.
Attempts to acquire this lock . If the lock could not be acquired at this time then ` Err ` is returned . Otherwise an RAII guard is returned . The lock will be unlocked when the guard is dropped . This function does not block .
pub fn try_lock(&self) -> TryLockResult<MutexGuard<T>> {
        unsafe {
            if self.inner.lock.try_lock() {
                Ok(try!(MutexGuard::new(&*self.inner, &self.data)))
            } else {
                Err(TryLockError::WouldBlock)
            }
        }
    }
pub fn try_lock ( & self ) -> TryLockResult < MutexGuard < T > > { unsafe { if self . inner . lock . try_lock ( ) { Ok ( try ! ( MutexGuard new ( self inner self data ) ) ) } else { Err ( TryLockError :: WouldBlock ) } } }
Attempts to acquire this lock.
Attempts to acquire this lock .
&self
&self
failure
If another user of this mutex panicked while holding the mutex, then
this call will return failure if the mutex would otherwise be
acquired.
If another user of this mutex panicked while holding the mutex then this call will return failure if the mutex would otherwise be acquired .