Skip to main content

Crate root

Crate root 

Source

Macros§

sync_await

Structs§

NativeHandler
ROOT 挂载的 native 处理函数。
Query
Root
SearchDescriptionResult

Enums§

Mount
Object

Traits§

IntoNativeHandler
add_native 第二个参数的 trait 重载。

Functions§

add
add_list
add_map
add_native
挂载一个 native 处理函数到 ROOT 树。
add_value
block_on_async
call
contains
dir
get
get_key
get_list
get_mount
insert
keys
mount_dir
mount_fjall
mount_memory
mount_redis
push
remove
remove_idx
按 idx 从列表移除元素(符合 sparse slot 设计:不 pack,索引稳定)。 用于 WS 连接等需要稳定 idx 的场景,断开时回收列表槽位避免无限增长。
send
send_idx_msg
send_msg
start_task
tx_rx
update
原子并发更新一个节点的值。返回更新后的值。 节点必须已存在,否则返回 Err。 原子并发更新一个 Object 节点的值。返回更新后的值。
update_key
原子并发更新一个 map 节点内某个 key 的值。返回更新后的值。

Type Aliases§

Msg
MsgReceiver
MsgSender