Docs.rs
  • x-common-lib-0.1.8
    • x-common-lib 0.1.8
    • Permalink
    • Docs.rs crate page
    • MPL-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • dqdeep
    • Dependencies
      • lazy_static ^1.4.0 normal
      • md5 ^0.7.0 normal
      • protobuf ^3.2.0 normal
      • protobuf-parse ^3.2.0 normal
      • regex ^1.8.4 normal
      • serde ^1.0.163 normal
      • serde_json ^1.0.96 normal
      • time ^0.3.21 normal
      • tokio ^1.28.1 normal
      • toml ^0.8.6 normal
      • tracing ^0.1 normal
      • tracing-subscriber ^0.3 normal
    • Versions
    • 8.01% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

xCommonLib0.1.8

Module id_generator

Module Items

  • Structs
  • Functions

In xCommonLib::base

xCommonLib::base

Module id_generator

Source
Expand description

Structs§

IdInfo
IdentityInfo

Functions§

addr_to_conn_id
conn_id_to_addr
gen_dxc_id
gen_id
gen_id_with_sgement_id
gen_service_id
get_all_id_info
get_dxc_gen_time
get_dxc_id_by_service_id
get_id_gen_time
get_id_timestamp
get_int_ip_from_conn_id
get_millisecond_no
get_node_id_info
get_sgement_id_from_id
make_node_id
make_node_id_with_uint_ip
make_remote_node_id
replace_identity_port
update_timestamp
更新当前时间戳的事件