Crates.io | send-cell |
lib.rs | send-cell |
version | 0.1.4 |
source | src |
created_at | 2017-08-04 19:56:44.818828 |
updated_at | 2018-07-27 10:17:23.528862 |
description | Immutable memory region with runtime Send checking |
homepage | |
repository | https://github.com/sdroege/send-cell |
max_upload_size | |
id | 26414 |
size | 13,632 |
DEPRECATED: This crate is now deprecated in favour of
fragile. The fragile::Fragile
type
has essentially the same guarantees and works the same
An immutable memory location that implements Send
for types that do not
implement it.
Enforcing safety with regard to the Send
trait happens at runtime instead of
compile time. Accessing the contained value will call panic!
if happening
from any thread but the thread on which the value was created on. The
SendCell
can be safely transferred to other threads.
send-cell is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).
Any kinds of contributions are welcome as a pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in send-cell by you shall be licensed under the MIT license as above, without any additional terms or conditions.