Trait downcast::DowncastSync

source ·
pub trait DowncastSync<T>: Downcast<T> + AnySync
where T: AnySync,
{ // Provided method fn downcast_arc(self: Arc<Self>) -> Result<Arc<T>, DowncastError<Arc<Self>>> { ... } }

Provided Methods§

source

fn downcast_arc(self: Arc<Self>) -> Result<Arc<T>, DowncastError<Arc<Self>>>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<_T> DowncastSync<_T> for dyn AnySync
where _T: AnySync,