enum UnhandledPanic {
Ignore,
ShutdownRuntime,
}
Variants§
Implementations§
source§impl UnhandledPanic
impl UnhandledPanic
fn from_str(s: &str) -> Result<UnhandledPanic, String>
fn into_tokens(self, crate_path: &TokenStream) -> TokenStream
Trait Implementations§
source§impl Clone for UnhandledPanic
impl Clone for UnhandledPanic
source§fn clone(&self) -> UnhandledPanic
fn clone(&self) -> UnhandledPanic
Returns a copy 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 PartialEq for UnhandledPanic
impl PartialEq for UnhandledPanic
impl Copy for UnhandledPanic
impl StructuralPartialEq for UnhandledPanic
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)