pub struct PopAckConstants;Implementations§
Source§impl PopAckConstants
impl PopAckConstants
pub const ACK_TIME_INTERVAL: i64 = 1_000i64
pub const SECOND: i64 = 1_000i64
pub const LOCK_TIME: i64 = 5_000i64
pub const RETRY_QUEUE_NUM: i32 = 1i32
pub const REVIVE_GROUP: &'static str = "CID_RMQ_SYS_REVIVE_GROUP"
pub const LOCAL_HOST: &'static str = "127.0.0.1"
pub const REVIVE_TOPIC: &'static str = "rmq_sys_REVIVE_LOG_"
pub const CK_TAG: &'static str = "ck"
pub const ACK_TAG: &'static str = "ack"
pub const BATCH_ACK_TAG: &'static str = "bAck"
pub const SPLIT: &'static str = "@"
pub fn build_cluster_revive_topic(cluster_name: &str) -> String
pub fn is_start_with_revive_prefix(topic_name: &str) -> bool
Auto Trait Implementations§
impl Freeze for PopAckConstants
impl RefUnwindSafe for PopAckConstants
impl Send for PopAckConstants
impl Sync for PopAckConstants
impl Unpin for PopAckConstants
impl UnwindSafe for PopAckConstants
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more