# Struct futures::sync::BiLockAcquired [−] [src]

    pub struct BiLockAcquired<T> { /* fields omitted */ }

Resolved value of the `BiLockAcquire<T>` future.

This value, like `BiLockGuard<T>`, is a sentinel to the value `T` through implementations of `Deref` and `DerefMut`. When dropped will unlock the lock, and the original unlocked `BiLock<T>` can be recovered through the `unlock` method.

## Methods

### `impl<T> BiLockAcquired<T>`
[src]

#### `pub fn unlock(self) -> BiLock<T>`
[src]

Recovers the original `BiLock<T>`, unlocking this lock.

## Trait Implementations

### `impl<T: Debug> Debug for BiLockAcquired<T>`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl<T> Deref for BiLockAcquired<T>`
[src]

#### `type Target = T`

The resulting type after dereferencing.

#### `fn deref(&self) -> &T`
[src]

Dereferences the value.

### `impl<T> DerefMut for BiLockAcquired<T>`
[src]

#### `fn deref_mut(&mut self) -> &mut T`
[src]

Mutably dereferences the value.

### `impl<T> Drop for BiLockAcquired<T>`
[src]

#### `fn drop(&mut self)`
[src]

Executes the destructor for this type. Read more

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)