pub trait ContextBounds: 'static + Clone + Send + Sync { }
Expand description

Describe type bounds for Context type.

These bounds differ depending on features enabled. For instance, enabling layout_checks adds a requirement for StableAbi trait.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: 'static + Clone + Send + Sync> ContextBounds for T