Struct rkyv::validation::ArchiveValidator[][src]

pub struct ArchiveValidator<C> { /* fields omitted */ }

An adapter that adds memory validation to a context.

Implementations

impl<C> ArchiveValidator<C>[src]

pub fn new(inner: C) -> Self[src]

Wraps the given validator context and adds memory validation.

pub fn into_inner(self) -> C[src]

Consumes the adapter and returns the underlying validator.

Trait Implementations

impl<C: ArchiveBoundsContext> ArchiveBoundsContext for ArchiveValidator<C>[src]

impl<C: ArchiveBoundsContext> ArchiveMemoryContext for ArchiveValidator<C>[src]

impl<C: Fallible> Fallible for ArchiveValidator<C>[src]

type Error = ArchiveMemoryError<C::Error>

The error produced by any failing methods

Auto Trait Implementations

impl<C> RefUnwindSafe for ArchiveValidator<C> where
    C: RefUnwindSafe

impl<C> !Send for ArchiveValidator<C>

impl<C> !Sync for ArchiveValidator<C>

impl<C> Unpin for ArchiveValidator<C> where
    C: Unpin

impl<C> UnwindSafe for ArchiveValidator<C> where
    C: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ArchivePointee for T[src]

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointee for T[src]

type Metadata = ()

The type for metadata in pointers and references to Self.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.