Struct python_oxidized_importer::OxidizedZipFinder[][src]

pub struct OxidizedZipFinder { /* fields omitted */ }
Expand description

A meta path finder that reads from zip archives.

Known incompatibilities with zipimporter:

  • ResourceReader interface not implemented.
  • ResourceLoader interface not implemented.
  • Bytecode isn’t validated.

Implementations

Construct a new instance from zip data.

Construct a new instance from a PyObject conforming to the buffer protocol.

Construct a new instance from a reader.

The full content of the reader will be read to an in-memory buffer.

Trait Implementations

Performs the conversion.

Specify this class has #[pyclass(dict)] or not.

Specify this class has #[pyclass(weakref)] or not.

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict. Read more

Class doc string

#[pyclass(gc)]

#[pyclass(subclass)]

#[pyclass(extends=…)]

Layout

Base class

This handles following two situations: Read more

Utility type to make Py::as_ref work.

Class name.

Module name, if any.

PyTypeObject instance for this type.

Checks if object is an instance of this type or a subclass of this type.

Checks if object is an instance of this type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Returns the safe abstraction over the type object.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.