patch_trait

Attribute Macro patch_trait 

Source
#[patch_trait]
Expand description

Mark a trait as a patchable interface

This generates metadata and ensures the trait is properly structured for runtime patching.

§Example

#[patch_trait]
pub trait Handler {
    fn handle(&self, request: Request) -> Response;
}