pub trait BaseCopyTarget {
// Required method
fn supported_data_format(
&self,
) -> impl Future<Output = Result<Vec<DataFormat>>> + Send;
}Expand description
A trait for thing that are either a CopyDestination or CopySource.
Required Methods§
Sourcefn supported_data_format(
&self,
) -> impl Future<Output = Result<Vec<DataFormat>>> + Send
fn supported_data_format( &self, ) -> impl Future<Output = Result<Vec<DataFormat>>> + Send
Which data format is supported by this destination/source.
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.