📝 Add docstrings to codex/standardise-trait-definitions-for-frameprocessor#9
Conversation
…cessor` Docstrings generation was requested by @leynos. * #8 (comment) The following files were modified: * `src/extractor.rs` * `src/middleware.rs` * `src/server.rs`
Reviewer's GuideThis PR enriches documentation by adding detailed docstrings with usage examples to constructors and methods across the middleware, extractor, and server modules. Class Diagram: Documented methods in SharedState struct (src/extractor.rs)classDiagram
class SharedState~T~ {
+new(inner: Arc~T~) Self
+deref() &T
}
Class Diagram: Documented methods in WireframeServer struct (src/server.rs)classDiagram
class WireframeServer~F, S~ {
+new(factory: F) Self
+workers(count: usize) Self
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedCodeRabbit bot authored PR detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
c3fbe27
into
codex/standardise-trait-definitions-for-frameprocessor
* Add core trait definitions * Refine payload and state traits * 📝 Add docstrings to `codex/standardise-trait-definitions-for-frameprocessor` (#9) Docstrings generation was requested by @leynos. * #8 (comment) The following files were modified: * `src/extractor.rs` * `src/middleware.rs` * `src/server.rs` Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Add payload tests * Document SharedState::new and fix attributes * Refine request context and cleanup docs * Refine trait docs and server * Refine extractor trait and clean docs * Rename middleware output type * Rename Transform output type --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Docstrings generation was requested by @leynos.
The following files were modified:
src/extractor.rssrc/middleware.rssrc/server.rsThese file types are not supported
Cargo.tomldocs/roadmap.mdℹ️ Note
Summary by Sourcery
Add Rust documentation comments to constructors and core methods across the middleware, extractor, and server modules.
Documentation: