pub struct RedirectGuard { /* private fields */ }Expand description
Restores the previous diagnostics sink when dropped.
Trait Implementations§
Source§impl Drop for RedirectGuard
impl Drop for RedirectGuard
Auto Trait Implementations§
impl Forget for RedirectGuard
impl Freeze for RedirectGuard
impl RefUnwindSafe for RedirectGuard
impl Send for RedirectGuard
impl Sync for RedirectGuard
impl Unpin for RedirectGuard
impl UnsafeUnpin for RedirectGuard
impl UnwindSafe for RedirectGuard
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