Crate wired_handler_derive
source ·Derive Macros§
- Derive
Context - Derive
ContextBuilder#[builder_ident = "MyBuilder"]defines the name of the builder (required)#[error_ident = "MyBuilderError"]defines the name of the builder error (required)#[global_state]marks the global state (field) which is inserted when building (required)#[state]marks a state (field) which has to be inserted before building - Derive
GetStatefor all fields marked with either#[state]or#[global_state] - Derive
State