Skip to main content

take_handler_attr

Function take_handler_attr 

Source
pub fn take_handler_attr(
    attrs: &mut Vec<Attribute>,
) -> Result<Option<HandlerTokens>>
Expand description

Removes the __handler attribute #[handlers] appended to a handler and parses it. None when the method carries none, which the transport attribute reports with outside_handlers.