Type Alias rkyv::validation::CheckTypeError

source ·
pub type CheckTypeError<T, C> = CheckArchiveError<<T as CheckBytes<C>>::Error, <C as Fallible>::Error>;
Expand description

The error type that can be produced by checking the given type with the given validator.

Aliased Type§

enum CheckTypeError<T, C> {
    CheckBytesError(<T as CheckBytes<C>>::Error),
    ContextError(<C as Fallible>::Error),
}

Variants§

§

CheckBytesError(<T as CheckBytes<C>>::Error)

An error that occurred while validating an object

§

ContextError(<C as Fallible>::Error)

A context error occurred