[go: up one dir, main page]

Flavor

Trait Flavor 

Source
pub trait Flavor: 'static {
    const ALLOW_CYCLES: bool;
}
Expand description

A type marker for ArchivedRc.

Required Associated Constants§

Source

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§