Struct rkyv::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 moreAuto Trait Implementations§
Blanket Implementations§
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn 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.
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.