Docs.rs
llm-worker-0.2.1
llm-worker 0.2.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
HareK02
Dependencies
async-trait ^0.1
normal
eventsource-stream ^0.2
normal
futures ^0.3
normal
llm-worker-macros ^0.2
normal
reqwest ^0.13.1
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^2.0
normal
tokio ^1.49
normal
tokio-util ^0.7
normal
tracing ^0.1
normal
clap ^4.5
dev
dotenv ^0.15
dev
schemars ^1.2
dev
tempfile ^3.24
dev
tracing-subscriber ^0.3
dev
Versions
78.07%
of the crate is documented
Platform
aarch64-apple-darwin
i686-pc-windows-msvc
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
HookEventKind
llm_
worker
0.2.1
Hook
Event
Kind
Required Associated Types
Input
Output
Implementors
In llm_
worker::
hook
llm_worker
::
hook
Trait
Hook
Event
Kind
Copy item path
Source
pub trait HookEventKind:
Send
+
Sync
+ 'static { type
Input
; type
Output
; }
Required Associated Types
§
Source
type
Input
Source
type
Output
Implementors
§
Source
§
impl
HookEventKind
for
OnAbort
Source
§
type
Input
=
String
Source
§
type
Output
=
()
Source
§
impl
HookEventKind
for
OnPromptSubmit
Source
§
type
Input
=
Message
Source
§
type
Output
=
OnPromptSubmitResult
Source
§
impl
HookEventKind
for
OnTurnEnd
Source
§
type
Input
=
Vec
<
Message
>
Source
§
type
Output
=
OnTurnEndResult
Source
§
impl
HookEventKind
for
PostToolCall
Source
§
type
Input
=
PostToolCallContext
Source
§
type
Output
=
PostToolCallResult
Source
§
impl
HookEventKind
for
PreLlmRequest
Source
§
type
Input
=
Vec
<
Message
>
Source
§
type
Output
=
PreLlmRequestResult
Source
§
impl
HookEventKind
for
PreToolCall
Source
§
type
Input
=
ToolCallContext
Source
§
type
Output
=
PreToolCallResult