Skip to main content

BaseCopyTarget

Trait BaseCopyTarget 

Source
pub trait BaseCopyTarget {
    // Required method
    fn supported_data_format(
        &self,
    ) -> impl Future<Output = Result<Vec<DataFormat>>>;
}
Expand description

A trait for thing that are either a CopyDestination or CopySource.

Required Methods§

Source

fn supported_data_format(&self) -> impl Future<Output = Result<Vec<DataFormat>>>

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".

Implementors§