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
const ALLOW_CYCLES: bool
If true
, cyclic ArchivedRc
s with this flavor will not fail
validation. If false
, cyclic ArchivedRc
s 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.