From f5c8f468322dcd21b470b02f2460bc23b07115c5 Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Wed, 10 Sep 2025 08:52:04 +0000 Subject: [PATCH] Move SonicDbTable to sonic-dash-ha. ~~Adding is_proto and convert_pb_to_json to SonicDbTable to support the changes in https://github.com/sonic-net/sonic-dash-ha/pull/82~~ Moving SonicDbTable to sonic-dash-ha as part of https://github.com/sonic-net/sonic-dash-ha/pull/82 --- crates/swss-common/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/swss-common/src/lib.rs b/crates/swss-common/src/lib.rs index 4082429..c1096da 100644 --- a/crates/swss-common/src/lib.rs +++ b/crates/swss-common/src/lib.rs @@ -17,11 +17,3 @@ pub fn sonic_db_config_initialize_global(path: &str) -> Result<(), Exception> { let path = cstr(path); unsafe { swss_try!(bindings::SWSSSonicDBConfig_initializeGlobalConfig(path.as_ptr())) } } - -/// Trait for objects that can be stored in a Sonic DB table. -pub trait SonicDbTable { - fn key_separator() -> char; - fn table_name() -> &'static str; - fn db_name() -> &'static str; - fn is_dpu() -> bool; -}