pub struct NetworkConnectionBuilderError;
Implementations§
Source§impl NetworkConnectionBuilderError
impl NetworkConnectionBuilderError
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<NetworkConnectionBuilderError> for PyErr
impl From<NetworkConnectionBuilderError> for PyErr
Source§fn from(_err: NetworkConnectionBuilderError) -> PyErr
fn from(_err: NetworkConnectionBuilderError) -> PyErr
Converts to this type from the input type.
Source§impl PyTypeObject for NetworkConnectionBuilderError
impl PyTypeObject for NetworkConnectionBuilderError
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 NetworkConnectionBuilderError
impl RefUnwindSafe for NetworkConnectionBuilderError
impl Send for NetworkConnectionBuilderError
impl Sync for NetworkConnectionBuilderError
impl Unpin for NetworkConnectionBuilderError
impl UnwindSafe for NetworkConnectionBuilderError
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