pub fn new_from_empty<T, O>(t: T) -> (WriteHandle<T, O>, ReadHandle<T>)
Expand description
Construct a new write and read handle pair from an empty data structure.
The type must implement Clone
so we can construct the second copy from the first.
pub fn new_from_empty<T, O>(t: T) -> (WriteHandle<T, O>, ReadHandle<T>)
Construct a new write and read handle pair from an empty data structure.
The type must implement Clone
so we can construct the second copy from the first.