pub struct PtyBuilder { /* private fields */ }
Implementations§
Source§impl PtyBuilder
impl PtyBuilder
pub fn arg<S: AsRef<OsStr>>(self, arg: S) -> Self
pub fn args<I, S>(self, args: I) -> Self
pub fn env_clear(self) -> Self
pub fn env<K, V>(self, key: K, val: V) -> Self
pub fn envs<I, K, V>(self, vars: I) -> Self
pub fn daemonize(self) -> Self
pub fn kill_on_drop(self) -> Self
pub fn set_daemonize(&mut self, daemonize: bool)
pub fn current_dir<P: AsRef<Path>>(self, dir: P) -> Self
pub fn spawn(self, size: &Size) -> Result<Pty>
Auto Trait Implementations§
impl Freeze for PtyBuilder
impl !RefUnwindSafe for PtyBuilder
impl Send for PtyBuilder
impl Sync for PtyBuilder
impl Unpin for PtyBuilder
impl !UnwindSafe for PtyBuilder
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