pub struct PtySpawner { /* private fields */ }Expand description
Spawner for PTY sessions.
Implementations§
Source§impl PtySpawner
impl PtySpawner
Sourcepub const fn with_config(config: PtyConfig) -> Self
pub const fn with_config(config: PtyConfig) -> Self
Create a new PTY spawner with custom configuration.
Sourcepub const fn set_dimensions(&mut self, cols: u16, rows: u16)
pub const fn set_dimensions(&mut self, cols: u16, rows: u16)
Set the terminal dimensions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PtySpawner
impl RefUnwindSafe for PtySpawner
impl Send for PtySpawner
impl Sync for PtySpawner
impl Unpin for PtySpawner
impl UnwindSafe for PtySpawner
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