File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
dragonfly-client-config/src
dragonfly-client-storage/src Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -991,18 +991,6 @@ impl Default for StorageServer {
991991 }
992992}
993993
994- /// Encryption is the storage encryption configuration for dfdaemon.
995- #[ derive( Debug , Clone , Serialize , Deserialize ) ]
996- pub struct Encryption {
997- pub enable : bool ,
998- }
999-
1000- fn default_storage_encryption ( ) -> Encryption {
1001- Encryption {
1002- enable : false ,
1003- }
1004- }
1005-
1006994/// Storage is the storage configuration for dfdaemon.
1007995#[ derive( Debug , Clone , Validate , Deserialize ) ]
1008996#[ serde( default , rename_all = "camelCase" ) ]
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ use std::path::Path;
2525use std:: path:: PathBuf ;
2626use std:: sync:: Arc ;
2727use std:: time:: Duration ;
28- use tokio:: io:: AsyncRead ;
28+ use tokio:: io:: { AsyncRead , AsyncReadExt } ;
2929use tokio:: time:: sleep;
3030use tokio_util:: either:: Either ;
3131use tokio_util:: io:: InspectReader ;
You can’t perform that action at this time.
0 commit comments