partition_with_metadata

Function partition_with_metadata 

Source
pub fn partition_with_metadata(
    partition: Partition,
    pool: &Pool<Postgres>,
) -> impl Future<Output = Result<PartitionWithMetadata, Error>>
Expand description

Convenience function to create a PartitionWithMetadata from an existing Partition. This loads the file metadata on-demand using the file_path.