Module plugins

Source

Modules§

process
wasm

Structs§

CheckConfigUpdatesMessage
ConfigChange
CriticalFormatError
A formatting error where the plugin cannot recover.
FileMatchingInfo
The plugin file matching information based on the configuration.
FormatConfigId
A unique configuration id used for formatting.
FormatRequest
HostFormatRequest
NullCancellationToken
A cancellation token that always says it’s not cancelled.
PluginInfo
Information about a plugin.
PluginResolveConfigurationResult
RawFormatConfig
SyncFormatRequest
SyncHostFormatRequest

Enums§

ConfigChangeKind
ConfigChangePathItem

Traits§

AsyncPluginHandler
Trait for implementing a process plugin.
CancellationToken
SyncPluginHandler
Trait for implementing a Wasm plugin.

Type Aliases§

FormatRange
FormatResult
Ok(Some(text)) - Changes due to the format. Ok(None) - No changes. Err(err) - Error formatting. Use a CriticalError to signal that the plugin can’t recover.