Skip to main content

init

Function init 

Source
pub async fn init(binlog_path: &str)
Expand description

Initialize ZIMQ

§Arguments

  • binlog_path - The storage path. Supports absolute paths or relative paths (relative to the working directory).

§Panics

  • Invalid binlog path
  • Failed to load binlog data
  • Failed to initialize ZIMQ

§Examples

zimq::init("zimq").await;