Struct rkyv_test::validation::validators::SharedValidator
source · [−]pub struct SharedValidator { /* private fields */ }
Expand description
A validator that can verify shared memory.
Implementations
Trait Implementations
type Error = SharedError
type Error = SharedError
The error produced by any failing methods.
Registers the given ptr
as a shared pointer with the given type. Read more
Auto Trait Implementations
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourcefn layout_raw(*const T) -> Layout
fn layout_raw(*const T) -> Layout
Gets the layout of the type.