Trait manyhow::MacroOutput
source · pub trait MacroOutput {
// Required method
fn convert(self) -> Result<TokenStream, Error>;
}
Expand description
Output of a macro handler.
Enables support for returning any TokenStream
or
Result<TokenStream, impl ToTokensError>
from a proc-macro implementation.
Required Methods§
sourcefn convert(self) -> Result<TokenStream, Error>
fn convert(self) -> Result<TokenStream, Error>
Handles conversion into a Result<TokenStream, Error>
.