[−][src]Struct pyo3_mp::Process
Implementations
impl<'a> Process<'a>
[src]
pub fn new(py: Python<'a>) -> PyResult<Self>
[src]
pub fn is_running(&self) -> bool
[src]
pub fn spawn(
&mut self,
f: impl IntoPy<Py<PyAny>>,
args: impl IntoPy<Py<PyTuple>>,
kwargs: Option<&PyDict>
) -> PyResult<()>
[src]
&mut self,
f: impl IntoPy<Py<PyAny>>,
args: impl IntoPy<Py<PyTuple>>,
kwargs: Option<&PyDict>
) -> PyResult<()>
pub fn spawn_mut(
&mut self,
f: impl IntoPy<Py<PyAny>>,
args: impl IntoPy<Py<PyTuple>>,
kwargs: Option<&PyDict>
) -> PyResult<(Py<PyAny>, Py<PyAny>)>
[src]
&mut self,
f: impl IntoPy<Py<PyAny>>,
args: impl IntoPy<Py<PyTuple>>,
kwargs: Option<&PyDict>
) -> PyResult<(Py<PyAny>, Py<PyAny>)>
pub fn join(&mut self) -> PyResult<()>
[src]
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Process<'a>
impl<'a> !Send for Process<'a>
impl<'a> !Sync for Process<'a>
impl<'a> Unpin for Process<'a>
impl<'a> !UnwindSafe for Process<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,