Use static methods in cxx-rs

This commit is contained in:
topjohnwu
2025-02-02 02:42:18 +08:00
parent 58a25a3e2b
commit 59622d1688
11 changed files with 51 additions and 59 deletions

View File

@@ -73,10 +73,6 @@ impl Default for MntNsMode {
}
}
pub fn get_default_db_settings() -> DbSettings {
DbSettings::default()
}
impl DbEntryKey {
fn to_str(self) -> &'static str {
match self {