[−][src]Struct cpython::exc::ChildProcessError
Trait Implementations
impl<'s> FromPyObject<'s> for ChildProcessError[src]
impl<'s> FromPyObject<'s> for &'s ChildProcessError[src]
impl PythonObject for ChildProcessError[src]
pub fn as_object(&self) -> &PyObject[src]
pub fn into_object(self) -> PyObject[src]
pub unsafe fn unchecked_downcast_from(obj: PyObject) -> Self[src]
Unchecked downcast from PyObject to Self. Undefined behavior if the input object does not have the expected type.
pub unsafe fn unchecked_downcast_borrow_from<'a>(obj: &'a PyObject) -> &'a Self[src]
Unchecked downcast from PyObject to Self. Undefined behavior if the input object does not have the expected type.
impl PythonObjectWithCheckedDowncast for ChildProcessError[src]
pub fn downcast_from<'p>(
py: Python<'p>,
obj: PyObject
) -> Result<ChildProcessError, PythonObjectDowncastError<'p>>[src]
py: Python<'p>,
obj: PyObject
) -> Result<ChildProcessError, PythonObjectDowncastError<'p>>
pub fn downcast_borrow_from<'a, 'p>(
py: Python<'p>,
obj: &'a PyObject
) -> Result<&'a ChildProcessError, PythonObjectDowncastError<'p>>[src]
py: Python<'p>,
obj: &'a PyObject
) -> Result<&'a ChildProcessError, PythonObjectDowncastError<'p>>
impl PythonObjectWithTypeObject for ChildProcessError[src]
pub fn type_object(py: Python<'_>) -> PyType[src]
impl ToPyObject for ChildProcessError[src]
Identity conversion: allows using existing PyObject instances where
T: ToPyObject is expected.
type ObjectType = ChildProcessError
pub fn to_py_object(&self, py: Python<'_>) -> ChildProcessError[src]
pub fn into_py_object(self, _py: Python<'_>) -> ChildProcessError[src]
pub fn with_borrowed_ptr<F, R>(&self, _py: Python<'_>, f: F) -> R where
F: FnOnce(*mut PyObject) -> R, [src]
F: FnOnce(*mut PyObject) -> R,
Auto Trait Implementations
impl RefUnwindSafe for ChildProcessError[src]
impl Send for ChildProcessError[src]
impl Sync for ChildProcessError[src]
impl Unpin for ChildProcessError[src]
impl UnwindSafe for ChildProcessError[src]
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>,