# Struct std::panic::AssertRecoverSafe [−] [src]

    pub struct AssertRecoverSafe<T>(pub T);

Deprecated since 1.9.0

: renamed to `AssertUnwindSafe`

Unstable (`recover` #27719)

: 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

Unstable (`recover` #27719)

: 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

Unstable (`recover` #27719)

: 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`

Unstable (`recover` #27719)

#### `fn deref(&self) -> &T`

Unstable (`recover` #27719)

### `impl<T> DerefMut for AssertRecoverSafe<T>`
[src]

#### `fn deref_mut(&mut self) -> &mut T`

Unstable (`recover` #27719)

### `impl<R, F: FnOnce() -> R> FnOnce<()> for AssertRecoverSafe<F>`
[src]

#### `type Output = R`

Unstable (`recover` #27719)

#### `extern "rust-call" fn call_once(self, _args: ()) -> R`

Unstable (`recover` #27719)

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)