pub struct CoreDumpsDisabledGuard {}Expand description
RAII guard that disables core dumps on macOS and restores the previous RLIMIT_CORE on drop.
On non-macOS platforms, this type is still defined to keep cross-platform signatures consistent, but creating it is not possible via this crate’s API.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreDumpsDisabledGuard
impl RefUnwindSafe for CoreDumpsDisabledGuard
impl Send for CoreDumpsDisabledGuard
impl Sync for CoreDumpsDisabledGuard
impl Unpin for CoreDumpsDisabledGuard
impl UnwindSafe for CoreDumpsDisabledGuard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more