# Type Alias critical_section::RawRestoreState

source ·

    pub type RawRestoreState = ();

Expand description

Raw, transparent “restore state”.

This type changes based on which Cargo feature is selected, out of

- `restore-state-none` (default, makes the type be `()`)
- `restore-state-bool`
- `restore-state-u8`
- `restore-state-u16`
- `restore-state-u32`
- `restore-state-u64`

See `RestoreState`.

User code uses `RestoreState` opaquely, critical section implementations use `RawRestoreState` so that they can use the inner value.