devela::_dep::rkyv::rc

Trait Flavor

pub trait Flavor: 'static {
    const ALLOW_CYCLES: bool;
}
Available on crate feature dep_rkyv only.
Expand description

A type marker for ArchivedRc.

Required Associated Constants§

const ALLOW_CYCLES: bool

If true, cyclic ArchivedRcs with this flavor will not fail validation. If false, cyclic ArchivedRcs with this flavor will fail validation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl Flavor for ArcFlavor

§

const ALLOW_CYCLES: bool = false

§

impl Flavor for RcFlavor

§

const ALLOW_CYCLES: bool = false