pub struct Python {
pub program: Vec<OsString>,
pub read: Vec<PathBuf>,
pub env: BTreeMap<String, String>,
}Expand description
How to start Python for one plugin.
Fields§
§program: Vec<OsString>Interpreter and leading arguments.
read: Vec<PathBuf>Folders a sandbox must let it read (the venv, the helper).
env: BTreeMap<String, String>Variables to set (PYTHONPATH).
Trait Implementations§
impl Eq for Python
impl StructuralPartialEq for Python
Auto Trait Implementations§
impl Forget for Python
impl Freeze for Python
impl Move for Python
impl RefUnwindSafe for Python
impl Send for Python
impl Sync for Python
impl Unpin for Python
impl UnsafeUnpin for Python
impl UnwindSafe for Python
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