borrow-count 0.1.0

Memory that can be shared with a smart pointer and then reaquired with a future.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Borrow Count

> Memory that can be shared with a smart pointer and then reaquired with a future.

## Example

```rs
let unique = Unique::new(0);
let (host, mut share) = unique.share_mut();
tokio::task::spawn(async move {
    tokio::time::sleep(std::time::Duration::from_millis(16)).await;
    *share += 1;
});
let unique = host.await;
assert_eq!(unique.into_inner(), 1)
```