AnySync

Trait AnySync 

Source
pub trait AnySync: Any + Sync { }
Expand description

Represents a type that can be dynamically downcast and is safe to share across threads.

This trait combines the capabilities of Any and Sync, ensuring that types implementing it can be safely shared across thread boundaries.

Implementors§

Source§

impl<T: Any + Sync> AnySync for T

Implements AnySync for types that are Any and Sync.

This trait signifies that a type can be safely accessed from multiple threads concurrently.