pub enum ExceptionBreakMode {
Never,
Always,
Unhandled,
UserUnhandled,
}Expand description
This enumeration defines all possible conditions when a thrown exception should result in a break.
Specification: ExceptionBreakMode
Variants§
Never
never breaks
Always
always breaks
Unhandled
breaks when exception unhandled
UserUnhandled
breaks if the exception is not handled by user code
Trait Implementations§
Source§impl Clone for ExceptionBreakMode
impl Clone for ExceptionBreakMode
Source§fn clone(&self) -> ExceptionBreakMode
fn clone(&self) -> ExceptionBreakMode
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 ExceptionBreakMode
impl Debug for ExceptionBreakMode
Source§impl Default for ExceptionBreakMode
impl Default for ExceptionBreakMode
Source§fn default() -> ExceptionBreakMode
fn default() -> ExceptionBreakMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExceptionBreakMode
impl<'de> Deserialize<'de> for ExceptionBreakMode
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 ExceptionBreakMode
impl RefUnwindSafe for ExceptionBreakMode
impl Send for ExceptionBreakMode
impl Sync for ExceptionBreakMode
impl Unpin for ExceptionBreakMode
impl UnsafeUnpin for ExceptionBreakMode
impl UnwindSafe for ExceptionBreakMode
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