risingwave_meta::rpc::election::sql

Trait SqlDriverCommon

source
pub trait SqlDriverCommon {
    const ELECTION_LEADER_TABLE_NAME: &'static str = "election_leader";
    const ELECTION_MEMBER_TABLE_NAME: &'static str = "election_member";

    // Provided methods
    fn election_table_name() -> &'static str { ... }
    fn member_table_name() -> &'static str { ... }
}

Provided Associated Constants§

source

const ELECTION_LEADER_TABLE_NAME: &'static str = "election_leader"

source

const ELECTION_MEMBER_TABLE_NAME: &'static str = "election_member"

Provided Methods§

source

fn election_table_name() -> &'static str

source

fn member_table_name() -> &'static str

Object Safety§

This trait is not object safe.

Implementors§