pub struct ImporterState { /* private fields */ }
Expand description

Holds state for the custom MetaPathFinder.

Implementations

Obtain the PythonResourcesState associated with this instance.

Obtain a mutable PythonResourcesState associated with this instance.

There is no run-time checking for mutation exclusion. So don’t like this leak outside of a single call site that needs to access it!

Set the value to call multiprocessing.set_start_method() with on import of multiprocessing.

Trait Implementations

Executes the destructor for this type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.