pub trait SourceProvider:
Send
+ Clone
+ 'static {
// Required method
fn get_source(&self) -> OperationVc<Box<dyn ContentSource>>;
}
Required Methods§
Sourcefn get_source(&self) -> OperationVc<Box<dyn ContentSource>>
fn get_source(&self) -> OperationVc<Box<dyn ContentSource>>
must call a turbo-tasks function internally
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.