Module dprint_core::plugins
source · [−]Structs
A formatting error where the plugin cannot recover.
Implementation of Host that always returns that it can’t format something.
A cancellation token that always says it’s not cancelled.
Information about a plugin.
Traits
Trait for implementing a process plugin. Wasm plugins will eventually be changed to implement this.
Trait for implementing a Wasm plugin. Eventually this will be combined with AsyncPluginHandler.
Type Definitions
Ok(Some(text))
- Changes due to the format.
Ok(None)
- No changes.
Err(err)
- Error formating. Use a CriticalError
to signal that the plugin can’t recover.