Skip to main content

MaybeSync

Trait MaybeSync 

Source
pub trait MaybeSync: Sync { }
Expand description

Sync, unless the unsync-callbacks feature says otherwise.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Sync + ?Sized> MaybeSync for T

Available on non-crate feature unsync-callbacks only.