pub trait Sealed { }
Expand description

Private seal for the FromPyObjectBound trait.

This prevents downstream types from implementing the trait before PyO3 is ready to declare the trait as public API.

Implementations on Foreign Types§

source§

impl Sealed for &str

Available on non-crate feature gil-refs only.
source§

impl Sealed for &[u8]

Available on non-crate feature gil-refs only.
source§

impl Sealed for Cow<'_, str>

Available on non-crate feature gil-refs only.
source§

impl Sealed for Cow<'_, [u8]>

Available on non-crate feature gil-refs only.

Implementors§

source§

impl<'py, T> Sealed for T
where T: FromPyObject<'py>,

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here