pub fn reset_reason() -> Option<SocResetReason>
Available on crate feature
unstable
only.Expand description
Retrieves the reason for the last reset as a SocResetReason enum value.
Returns None
if the reset reason cannot be determined.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.