pub enum PythonRunnerMode {
OneShot,
Persistent,
}Expand description
Python provider execution mode.
Variants§
OneShot
Spawn one bounded interpreter for each catalog or invocation request.
Persistent
Reuse one supervised interpreter per active Python provider.
Trait Implementations§
Source§impl Clone for PythonRunnerMode
impl Clone for PythonRunnerMode
Source§fn clone(&self) -> PythonRunnerMode
fn clone(&self) -> PythonRunnerMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PythonRunnerMode
impl Debug for PythonRunnerMode
Source§impl Default for PythonRunnerMode
impl Default for PythonRunnerMode
Source§fn default() -> PythonRunnerMode
fn default() -> PythonRunnerMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PythonRunnerMode
impl<'de> Deserialize<'de> for PythonRunnerMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PythonRunnerMode
impl PartialEq for PythonRunnerMode
Source§fn eq(&self, other: &PythonRunnerMode) -> bool
fn eq(&self, other: &PythonRunnerMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PythonRunnerMode
impl Serialize for PythonRunnerMode
impl Copy for PythonRunnerMode
impl Eq for PythonRunnerMode
impl StructuralPartialEq for PythonRunnerMode
Auto Trait Implementations§
impl Freeze for PythonRunnerMode
impl RefUnwindSafe for PythonRunnerMode
impl Send for PythonRunnerMode
impl Sync for PythonRunnerMode
impl Unpin for PythonRunnerMode
impl UnsafeUnpin for PythonRunnerMode
impl UnwindSafe for PythonRunnerMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more