pub struct ExceptionOptions {
pub path: Option<Vec<ExceptionPathSegment>>,
pub break_mode: ExceptionBreakMode,
}
Expand description
An ExceptionOptions
assigns configuration options to a set of exceptions.
Fields§
§path: Option<Vec<ExceptionPathSegment>>
A path that selects a single or multiple exceptions in a tree. If path
is missing, the whole tree is selected.
By convention the first segment of the path is a category that is used to group exceptions in the UI.
break_mode: ExceptionBreakMode
Condition when a thrown exception should result in a break.
Trait Implementations§
Source§impl Clone for ExceptionOptions
impl Clone for ExceptionOptions
Source§fn clone(&self) -> ExceptionOptions
fn clone(&self) -> ExceptionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExceptionOptions
impl Debug for ExceptionOptions
Source§impl<'de> Deserialize<'de> for ExceptionOptions
impl<'de> Deserialize<'de> for ExceptionOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExceptionOptions
impl RefUnwindSafe for ExceptionOptions
impl Send for ExceptionOptions
impl Sync for ExceptionOptions
impl Unpin for ExceptionOptions
impl UnwindSafe for ExceptionOptions
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