Docs.rs
  • x-com-lib-0.1.8
    • x-com-lib 0.1.8
    • Permalink
    • Docs.rs crate page
    • MPL-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • dqdeep
    • Dependencies
      • async-trait ^0.1.68 normal
      • futures ^0.3.28 normal
      • lazy_static ^1.4.0 normal
      • pin-utils ^0.1 normal
      • protobuf ^3.2.0 normal
      • serde ^1.0.163 normal
      • serde_json ^1.0.96 normal
      • tokio ^1.28.1 normal
      • toml ^0.8.6 normal
      • tracing ^0.1 normal
      • tracing-subscriber ^0.3 normal
      • x-common-lib ^0.1.8 normal
    • Versions
    • 7.55% 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
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

xComLib0.1.8

Module x_core

Module Items

  • Modules
  • Structs
  • Constants
  • Statics
  • Functions
  • Type Aliases

In crate xComLib

xComLib

Module x_core

Source

Modules§

config
xrpc

Structs§

RequestEmptyFuture
RequestFuture
RequestState
Task

Constants§

CUR_REQUEST_ID

Statics§

HAS_SERVICE_API
RUNTIME
SEND_MESSAGE_API

Functions§

add_request_handler
build_request_empty_future
build_request_future
构建 future
create_request_state
gen_id
get_request_id
get_runtime
get_service_id
init_app
初始化
init_runtime
初始化 runtime
inject_add_channel_id_to_remote_services
inject_build_channel
inject_event_response_func
inject_gen_id
inject_get_all_conn_id
inject_get_all_local_service
inject_get_channel_id_by_conn_id
inject_get_http_data
inject_get_http_listen_addr
inject_get_xrpc_port
inject_has_service
inject_load_service
inject_log_output
inject_remove_http_client
inject_remove_remote_services_all_channel_id
inject_response_func
inject_send_http_request
inject_send_message
inject_set_channel_xrpc_port
inject_sleep
inject_subscribe
inject_unload_service
inject_unsubscribe
parse_empty_response_and_wake
parse_request_param
parse_response_and_wake
response_empty_msg
response_msg
result_in
serial_empty_request
serial_request
set_request_id
spawn

Type Aliases§

Result