[−][src]Trait interprocess_traits::ProcSync
Types for which it is safe to share references between processes.
Much like ProcSend
is a cross-process Send
, ProcSync
is a cross-process Sync
.
In general, for any type to implement ProcSync
, it must be Sync
, as threads conceptually are the same as processes which sahre the same address space.
Unlike Sync
, ProcSync
is not an auto-trait by default, because auto-traits are not stable. Unless the auto_traits
feature is enabled, it will be necessary to implement this trait manually.