Docs.rs
onebot-api-1.2.2
onebot-api 1.2.2
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
ACAlexChen
Dependencies
anyhow ^1.0.102
normal
async-trait ^0.1.89
normal
axum ^0.8.8
normal
optional
bytes ^1.11.1
normal
eventsource-stream ^0.2.3
normal
optional
flume ^0.12.0
normal
futures ^0.3.32
normal
hex ^0.4.3
normal
optional
hmac ^0.12.1
normal
optional
http ^1.4.0
normal
reqwest ^0.13.2
normal
optional
serde ^1.0.228
normal
serde_json ^1.0.149
normal
sha1 ^0.10.6
normal
optional
strum ^0.28.0
normal
thiserror ^2.0.18
normal
tokio ^1.50.0
normal
tokio-tungstenite ^0.29.0
normal
optional
url ^2.5.8
normal
uuid ^1.22.0
normal
Versions
12.15%
of the crate is documented
Platform
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
Skip to main content
EventReceiver
onebot_
api
1.2.2
Event
Receiver
Required Methods
subscribe
Implementors
In onebot_
api::
event
onebot_api
::
event
Trait
Event
Receiver
Copy item path
Source
pub trait EventReceiver<T:
EventTrait
> { // Required method fn
subscribe
(&self) ->
Receiver
<T>; }
Required Methods
§
Source
fn
subscribe
(&self) ->
Receiver
<T>
Implementors
§
Source
§
impl
EventReceiver
<
Arc
<
Event
>> for
Client
Source
§
impl
EventReceiver
<
Arc
<
APIResponse
>> for
Client