pub enum UnhandledPanic {
Ignore,
ShutdownRuntime,
}Variants§
Trait Implementations§
Source§impl Debug for UnhandledPanic
impl Debug for UnhandledPanic
Source§impl Default for UnhandledPanic
impl Default for UnhandledPanic
Source§fn default() -> UnhandledPanic
fn default() -> UnhandledPanic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnhandledPanic
impl<'de> Deserialize<'de> for UnhandledPanic
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 UnhandledPanic
impl RefUnwindSafe for UnhandledPanic
impl Send for UnhandledPanic
impl Sync for UnhandledPanic
impl Unpin for UnhandledPanic
impl UnwindSafe for UnhandledPanic
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