Struct pyo3::prelude::exc::OSError [−][src]
pub struct OSError;
Methods
impl OSError
[src]
impl OSError
pub fn new<V: ToPyObject + 'static>(args: V) -> PyErr
[src]
pub fn new<V: ToPyObject + 'static>(args: V) -> PyErr
pub fn into<R, V: ToPyObject + 'static>(args: V) -> PyResult<R>
[src]
pub fn into<R, V: ToPyObject + 'static>(args: V) -> PyResult<R>
Trait Implementations
impl From<OSError> for PyErr
[src]
impl From<OSError> for PyErr
impl<T> Into<PyResult<T>> for OSError
[src]
impl<T> Into<PyResult<T>> for OSError
impl PyTypeObject for OSError
[src]
impl PyTypeObject for OSError
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