SourceManagerSync

Trait SourceManagerSync 

Source
pub trait SourceManagerSync:
    SourceManager
    + Send
    + Sync { }
Expand description

SourceManagerSync is a marker trait for SourceManager implementations that are also Send + Sync, and is automatically implemented for any SourceManager that meets those requirements.

SourceManager is a supertrait of SourceManagerSync, so you may use instances of the SourceManagerSync where the SourceManager is required, either implicitly or via explicit downcasting, e.g. Arc<dyn SourceManagerSync> as Arc<dyn SourceManager>.

Implementors§

Source§

impl<T> SourceManagerSync for T
where T: SourceManager + Send + Sync + ?Sized,