[−][src]Trait verify::span::Spanned
Spanned values can return an optional Span about themselves.
Associated Types
type Span: Span
Span is information about the value.
It is usually returned with validation errors so that the caller knows where the error happened in case of nested values such as arrays or maps.
Required methods
fn span(&self) -> Option<Self::Span>
Return the span for the value if any.
Span hierarchy for nested values is controlled by the Validators, returning None should reset the hierarchy during validation.