Unsync

Trait Unsync 

Source
pub unsafe trait Unsync { }
Expand description

Asserts the types implementing this trait are !Sync. (Negative bounds are not supported by the compiler at the point of writing, so this trait must be implemented manually.)

§Safety

Self must really be !Sync.

Implementors§

Source§

impl Unsync for ArcTokenUnsyncRef<'_>

Available on crate feature alloc and target_has_atomic="ptr" only.
Source§

impl Unsync for IcTokenUnsyncRef<'_>

Available on crate feature std only.
Source§

impl Unsync for RcToken

Available on crate feature alloc only.
Source§

impl<Tag: ?Sized> Unsync for UnsyncSingletonToken<Tag>