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