Struct pyo3::exc::asyncio::InvalidStateError [−][src]
pub struct InvalidStateError;
Methods
impl InvalidStateError
[src]
impl InvalidStateError
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<InvalidStateError> for PyErr
[src]
impl From<InvalidStateError> for PyErr
fn from(_err: InvalidStateError) -> PyErr
[src]
fn from(_err: InvalidStateError) -> PyErr
Performs the conversion.
impl<T> Into<PyResult<T>> for InvalidStateError
[src]
impl<T> Into<PyResult<T>> for InvalidStateError
impl PyTypeObject for InvalidStateError
[src]
impl PyTypeObject for InvalidStateError
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 InvalidStateError
impl Send for InvalidStateError
impl Sync for InvalidStateError
impl Sync for InvalidStateError