# pyo3::ffi::PyBaseExceptionObject - Rust
API documentation for the Rust `PyBaseExceptionObject` struct in crate `pyo3`.
Keywords: rust, rustlang, rust-lang, PyBaseExceptionObject

# Struct pyo3::ffi::PyBaseExceptionObject [−] [src]

    #[repr(C)]pub struct PyBaseExceptionObject {
        pub ob_base: PyObject,
        pub dict: *mut PyObject,
        pub args: *mut PyObject,
        pub traceback: *mut PyObject,
        pub context: *mut PyObject,
        pub cause: *mut PyObject,
        pub suppress_context: char,
    }

## Fields

`ob_base: PyObject` `dict: *mut PyObject` `args: *mut PyObject` `traceback: *mut PyObject` `context: *mut PyObject` `cause: *mut PyObject` `suppress_context: char`

## Trait Implementations

### `impl Debug for PyBaseExceptionObject` [src]

#### `fn fmt(&self, f: &mut Formatter<'_>) -> Result` [src]

Formats the value using the given formatter. Read more

### `impl PyLayout<CancelledError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<IncompleteReadError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<InvalidStateError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<LimitOverrunError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PanicException> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyArithmeticError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyAssertionError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyAttributeError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyBaseException> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyBlockingIOError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyBrokenPipeError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyBufferError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyChildProcessError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyConnectionAbortedError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyConnectionError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyConnectionRefusedError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyConnectionResetError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyEOFError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyEnvironmentError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyException> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyFileExistsError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyFileNotFoundError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyFloatingPointError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyGeneratorExit> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyIOError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyImportError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyIndexError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyInterruptedError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyIsADirectoryError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyKeyError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyKeyboardInterrupt> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyLookupError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyMemoryError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyModuleNotFoundError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyNameError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyNotADirectoryError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyNotImplementedError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyOverflowError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyPermissionError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyProcessLookupError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyRecursionError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyReferenceError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyRuntimeError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyStopAsyncIteration> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PySystemError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyTimeoutError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyTypeError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyUnboundLocalError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyUnicodeDecodeError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyUnicodeEncodeError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyUnicodeTranslateError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyValueError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<PyZeroDivisionError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<QueueEmpty> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<QueueFull> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<TimeoutError> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<gaierror> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<herror> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PyLayout<timeout> for PyBaseExceptionObject` [src]

#### `const IS_NATIVE_TYPE: bool` [src]

#### `fn get_super(&mut self) -> Option<&mut T::BaseLayout>` [src]

#### `fn py_init(&mut self, _value: T)` [src]

#### `unsafe fn py_drop(&mut self, _py: Python<'_>)` [src]

### `impl PySizedLayout<PyBaseException> for PyBaseExceptionObject` [src]

## Auto Trait Implementations

### `impl RefUnwindSafe for PyBaseExceptionObject`

### `impl !Send for PyBaseExceptionObject`

### `impl !Sync for PyBaseExceptionObject`

### `impl Unpin for PyBaseExceptionObject`

### `impl UnwindSafe for PyBaseExceptionObject`

## Blanket Implementations

### `impl<T> Any for T where
T: 'static + ?Sized,` [src]

#### `pub fn type_id(&self) -> TypeId` [src]

Gets the `TypeId` of `self`. Read more

### `impl<T> Borrow<T> for T where
T: ?Sized,` [src]

#### `pub fn borrow(&self) -> &T` [src]

Immutably borrows from an owned value. Read more

### `impl<T> BorrowMut<T> for T where
T: ?Sized,` [src]

#### `pub fn borrow_mut(&mut self) -> &mut T` [src]

Mutably borrows from an owned value. Read more

### `impl<T> From<T> for T` [src]

#### `pub fn from(t: T) -> T` [src]

Performs the conversion.

### `impl<T, U> Into<U> for T where
U: From<T>,` [src]

#### `pub fn into(self) -> U` [src]

Performs the conversion.

### `impl<T, U> TryFrom<U> for T where
U: Into<T>,` [src]

#### `type Error = Infallible`

The type returned in the event of a conversion error.

#### `pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>` [src]

Performs the conversion.

### `impl<T, U> TryInto<U> for T where
U: TryFrom<T>,` [src]

#### `type Error = <U as TryFrom<T>>::Error`

The type returned in the event of a conversion error.

#### `pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>` [src]

Performs the conversion.