Skip to content

Commit 384f84f

Browse files
author
Devdutt Shenoi
committed
ObjectStorage: Debug
1 parent 4019f9f commit 384f84f

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/storage/azure_blob.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ pub fn to_object_store_path(path: &RelativePath) -> StorePath {
191191

192192
// ObjStoreClient is generic client to enable interactions with different cloudprovider's
193193
// object store such as S3 and Azure Blob
194+
#[derive(Debug)]
194195
pub struct BlobStore {
195196
client: LimitStore<MicrosoftAzure>,
196197
account: String,

src/storage/localfs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ impl ObjectStorageProvider for FSConfig {
8080
}
8181
}
8282

83+
#[derive(Debug)]
8384
pub struct LocalFS {
8485
// absolute path of the data directory
8586
root: PathBuf,

src/storage/object_storage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub trait ObjectStorageProvider: StorageMetrics + std::fmt::Debug + Send + Sync
6767
}
6868

6969
#[async_trait]
70-
pub trait ObjectStorage: Send + Sync + 'static {
70+
pub trait ObjectStorage: std::fmt::Debug + Send + Sync + 'static {
7171
async fn get_object(&self, path: &RelativePath) -> Result<Bytes, ObjectStorageError>;
7272
// TODO: make the filter function optional as we may want to get all objects
7373
async fn get_objects(

src/storage/s3.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ fn to_object_store_path(path: &RelativePath) -> StorePath {
316316
StorePath::from(path.as_str())
317317
}
318318

319+
#[derive(Debug)]
319320
pub struct S3 {
320321
client: LimitStore<AmazonS3>,
321322
bucket: String,

0 commit comments

Comments
 (0)