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