o3 0.16.1

shared-nothing primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod raw;
mod sealed;

use std::pin;

pub use sealed::{Lease, Pool, Reservation};

/// Resets a pinned value in place before its slot is recycled.
pub trait Recycle {
    fn recycle(self: pin::Pin<&mut Self>);
}