Download crates/forge_tracker/src/collect/mod.rs from SaylorTwift/forgecode: direct link, hf CLI and curl.
- Browser
- Download file 218 Bytes
-
https://huggingface.co/SaylorTwift/forgecode/resolve/main/crates/forge_tracker/src/collect/mod.rs
- Command line
-
hf download hf://SaylorTwift/forgecode/crates/forge_tracker/src/collect/mod.rs
-
curl -L -o mod.rs https://huggingface.co/SaylorTwift/forgecode/resolve/main/crates/forge_tracker/src/collect/mod.rs
218 Bytes
| use crate::Event; | |
| pub mod posthog; | |
| /// | |
| /// Defines the interface for an event collector. | |
| pub trait Collect: Send + Sync { | |
| async fn collect(&self, event: Event) -> super::Result<()>; | |
| } | |