pub trait UploadBatchFileExt: UploadBatchFileCore {
// Provided method
fn upload_batch_file<'life0, 'async_trait, P>(
&'life0 self,
file_path: P,
) -> Pin<Box<dyn Future<Output = Result<OpenAIFile, Self::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
P: AsRef<Path> + Send + Sync + 'async_trait,
Self: Sync + 'async_trait { ... }
}
Provided Methods§
fn upload_batch_file<'life0, 'async_trait, P>( &'life0 self, file_path: P, ) -> Pin<Box<dyn Future<Output = Result<OpenAIFile, Self::Error>> + Send + 'async_trait>>
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.