Skip to main content

Module utils

Module utils 

Source

Re-exports§

pub use crate::event::Event as NormalEvent;

Structs§

APIRequest
Client 发出的API请求
APIResponse
CommunicationService 返回的API响应
BroadcastReceiver
Receiving-half of the broadcast channel.
BroadcastSender
Sending-half of the broadcast channel.
Client
对于Onebot V11协议API调用和事件接收的高层抽象
需要具体实现 CommunicationService 的底层服务支持
ClientBuilder
FlumeReceiver
The receiving end of a channel.
FlumeSender
A transmitting end of a channel.

Enums§

DeserializedEvent
经由 CommunicationService 初步反序列化后的原始事件

Constants§

DEFAULT_CHANNEL_CAP

Traits§

APIResponseListener
CommunicationService
IntoService

Type Aliases§

ArcAPIResponse
ArcNormalEvent
ArcServiceRuntimeError
InternalAPIReceiver
Client 与具体 CommunicationService
API请求的接收通道
应由 CommunicationService 持有
InternalAPISender
Client 与具体 CommunicationService
API请求的发送通道
应由 Client 持有
InternalEventReceiver
Client 与具体 CommunicationService
原始事件的接收通道
应由 Client 持有
InternalEventSender
Client 与具体 CommunicationService
原始事件的发送通道
应由 CommunicationService 持有
PublicAPIResponseReceiver
Client 与具体使用者之间
API响应的接收通道
公开,任何人都可持有
PublicAPIResponseSender
Client 与具体使用者之间
API响应的发送通道
应由 Client 持有
PublicEventReceiver
Client 与具体使用者之间
事件(除去API响应)的接收通道
公开,任何人都可持有
PublicEventSender
Client 与具体使用者之间
事件(除去API响应)的发送通道
应由 Client 持有
ServiceRuntimeResult