pub struct StdoutOverrideGuard { /* private fields */ }
Expand description
A Guard over the File Descriptor change. when this guard is dropped the File Descriptor will go back to the original, and the file will be closed.
For more information please see the module-level documentation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdoutOverrideGuard
impl RefUnwindSafe for StdoutOverrideGuard
impl Send for StdoutOverrideGuard
impl Sync for StdoutOverrideGuard
impl Unpin for StdoutOverrideGuard
impl UnwindSafe for StdoutOverrideGuard
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