Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions crates/swss-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Loading