pub fn GetAllDiagnostics(
ResourceURIFilterOption: Option<Value>,
) -> ActionEffect<Arc<dyn DiagnosticManager>, CommonError, Value>Expand description
Creates an effect that, when executed, will retrieve all diagnostics currently managed by the host, with an option to filter for a specific resource URI.
It uses the DiagnosticManager capability from the environment to perform
the operation.
§Parameters
ResourceURIFilterOption: AnOption<Value>containing a serializedUriComponentsDTO. IfSome, only diagnostics for that URI will be returned. IfNone, all diagnostics for all resources are returned.
§Returns
An ActionEffect that resolves with a serde_json::Value representing an
array of [UriComponents, MarkerDataDTO[]] tuples.