Struct std::panic::AssertRecoverSafe
[−]
[src]
pub struct AssertRecoverSafe<T>(pub T);
Deprecated since 1.9.0
: renamed to AssertUnwindSafe
Deprecated, renamed to AssertUnwindSafe
Methods
impl<T> AssertRecoverSafe<T>
[src]
fn new(t: T) -> AssertRecoverSafe<T>
Deprecated since 1.9.0
: the type's field is now public, construct it directly
Creates a new AssertRecoverSafe
wrapper around the provided type.
fn into_inner(self) -> T
Deprecated since 1.9.0
: the type's field is now public, access it directly
Consumes the AssertRecoverSafe
, returning the wrapped value.
Trait Implementations
impl<T> UnwindSafe for AssertRecoverSafe<T>
[src]
impl<T> RefUnwindSafe for AssertRecoverSafe<T>
[src]
impl<T> Deref for AssertRecoverSafe<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<T> DerefMut for AssertRecoverSafe<T>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value