pub struct TtyHandles {
pub tty_in: File,
pub tty_out: File,
}Expand description
File handles for the controlling terminal that the spawned editor child
will inherit. On Unix these wrap the file descriptors for /dev/tty
opened twice (read + write); on Windows they wrap CONIN$ and CONOUT$.
Fields§
§tty_in: File§tty_out: FileTrait Implementations§
Auto Trait Implementations§
impl Freeze for TtyHandles
impl RefUnwindSafe for TtyHandles
impl Send for TtyHandles
impl Sync for TtyHandles
impl Unpin for TtyHandles
impl UnsafeUnpin for TtyHandles
impl UnwindSafe for TtyHandles
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