pub unsafe trait ValueTypeChecker {
    type Error: Error + Send + Sized + 'static;

    // Required method
    fn check(value: &Value) -> Result<(), Self::Error>;
}
Expand description

Trait for Value type checkers.

Required Associated Types§

source

type Error: Error + Send + Sized + 'static

Required Methods§

source

fn check(value: &Value) -> Result<(), Self::Error>

Implementors§