#marker #understand #send-sync #type

no-std opera

Marker types that are easy to understand

2 stable releases

1.0.1 Oct 1, 2021

#1506 in Rust patterns

MIT/Apache

3KB
58 lines

Opera

This Rust crate provides the marker types

  • PhantomNotSend
  • PhantomNotSync

which make the containing type !Send and !Sync respectively.


lib.rs:

This crate provides marker types that are easier to understand than using [PhantomData] directly.

No runtime deps