current_guard

Function current_guard 

Source
unsafe fn current_guard() -> Option<Range<usize>>
Available on non-miri and (Linux or FreeBSD or target_os=hurd or macOS or NetBSD or OpenBSD or Solaris or illumos) and (Android or FreeBSD or target_os=hurd or Linux or NetBSD or L4Re) only.