AnySendSync

Trait AnySendSync 

Source
pub trait AnySendSync:
    Any
    + Send
    + Sync { }
Expand description

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

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

Implementors§

Source§

impl<T> AnySendSync for T
where T: Any + Send + Sync,

Implements AnySendSync for types that are Any, Send, and Sync.

This trait signifies that a type can be safely sent across thread boundaries and accessed concurrently.