Crate sentry_options_validation

Crate sentry_options_validation 

Source
Expand description

Schema validation library for sentry-options

This library provides schema loading and validation for sentry-options. Schemas are loaded once and stored in Arc for efficient sharing. Values are validated against schemas as complete objects.

Structs§

NamespaceSchema
Schema for a namespace, containing validator and defaults
SchemaRegistry
Registry for loading and storing schemas
ValuesWatcher
Watches the values directory for changes, reloading if there are any. If the directory does not exist we do not panic

Enums§

ValidationError
Errors that can occur during schema and value validation

Type Aliases§

ValidationResult
Result type for validation operations
ValuesByNamespace
A map of option values keyed by their namespace