pub struct StdinOverrideGuard { /* 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 StdinOverrideGuard
impl RefUnwindSafe for StdinOverrideGuard
impl Send for StdinOverrideGuard
impl Sync for StdinOverrideGuard
impl Unpin for StdinOverrideGuard
impl UnwindSafe for StdinOverrideGuard
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