pub struct JSONDecodeError;
Implementations§
Source§impl JSONDecodeError
impl JSONDecodeError
pub fn py_err<T: ToPyObject + 'static>(args: T) -> PyErr
pub fn into<R, T: ToPyObject + 'static>(args: T) -> PyResult<R>
Trait Implementations§
Source§impl From<JSONDecodeError> for PyErr
impl From<JSONDecodeError> for PyErr
Source§fn from(_err: JSONDecodeError) -> PyErr
fn from(_err: JSONDecodeError) -> PyErr
Converts to this type from the input type.
Source§impl PyTypeObject for JSONDecodeError
impl PyTypeObject for JSONDecodeError
Source§fn init_type() -> NonNull<PyTypeObject>
fn init_type() -> NonNull<PyTypeObject>
This function must make sure that the corresponding type object gets
initialized exactly once and return it.
Source§fn type_object() -> Py<PyType>
fn type_object() -> Py<PyType>
Returns the safe abstraction over the type object from PyTypeObject::init_type
Auto Trait Implementations§
impl Freeze for JSONDecodeError
impl RefUnwindSafe for JSONDecodeError
impl Send for JSONDecodeError
impl Sync for JSONDecodeError
impl Unpin for JSONDecodeError
impl UnwindSafe for JSONDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more