Trait tendril::Atomicity
[−]
[src]
pub unsafe trait Atomicity: 'static { }The multithreadedness of a tendril.
Exactly two types implement this trait:
Atomic: use this in your tendril and you will have aSendtendril which works across threads; this is akin toArc.NonAtomic: use this in your tendril and you will have a tendril which is neitherSendnorSyncbut should be a tad faster; this is akin toRc.
The layout of this trait is also mandated to be that of a usize,
for it is used for reference counting.