pub struct PythonExceptionData { /* private fields */ }Expand description
Non-recursive Python data stored in a shared managed exception node.
Implementations§
Source§impl PythonExceptionData
impl PythonExceptionData
Sourcepub const fn suppress_context(&self) -> bool
pub const fn suppress_context(&self) -> bool
Whether implicit context display is suppressed.
Sourcepub fn group_message(&self) -> Option<&str>
pub fn group_message(&self) -> Option<&str>
Group message, present only for exception groups.
Trait Implementations§
Source§impl Clone for PythonExceptionData
impl Clone for PythonExceptionData
Source§fn clone(&self) -> PythonExceptionData
fn clone(&self) -> PythonExceptionData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PythonExceptionData
impl !UnwindSafe for PythonExceptionData
impl Freeze for PythonExceptionData
impl Send for PythonExceptionData
impl Sync for PythonExceptionData
impl Unpin for PythonExceptionData
impl UnsafeUnpin for PythonExceptionData
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