Struct pyo3::exc::asyncio::CancelledError [−][src]
pub struct CancelledError;
Methods
impl CancelledError
[src]
impl CancelledError
pub fn new<T: ToPyObject + 'static>(args: T) -> PyErr where
Self: PyTypeObject + Sized,
[src]
pub fn new<T: ToPyObject + 'static>(args: T) -> PyErr where
Self: PyTypeObject + Sized,
pub fn into<R, T: ToPyObject + 'static>(args: T) -> PyResult<R> where
Self: PyTypeObject + Sized,
[src]
pub fn into<R, T: ToPyObject + 'static>(args: T) -> PyResult<R> where
Self: PyTypeObject + Sized,
Trait Implementations
impl From<CancelledError> for PyErr
[src]
impl From<CancelledError> for PyErr
fn from(_err: CancelledError) -> PyErr
[src]
fn from(_err: CancelledError) -> PyErr
Performs the conversion.
impl<T> Into<PyResult<T>> for CancelledError
[src]
impl<T> Into<PyResult<T>> for CancelledError
impl PyTypeObject for CancelledError
[src]
impl PyTypeObject for CancelledError
fn init_type()
[src]
fn init_type()
Initialize type object
fn type_object() -> Py<PyType>
[src]
fn type_object() -> Py<PyType>
Retrieves the type object for this Python object type.
fn create(py: Python) -> PyResult<PyRawObject> where
Self: Sized + PyObjectAlloc<Self> + PyTypeInfo,
[src]
fn create(py: Python) -> PyResult<PyRawObject> where
Self: Sized + PyObjectAlloc<Self> + PyTypeInfo,
Create PyRawObject which can be initialized with rust value
Auto Trait Implementations
impl Send for CancelledError
impl Send for CancelledError
impl Sync for CancelledError
impl Sync for CancelledError