pub struct Session { /* private fields */ }Expand description
One long-lived bash -l. A command arrives through a heredoc read by the read builtin; its
stdout and stderr go to their own files and come back with one printf behind a header of
byte lengths. Only the command itself runs as a process: the previous protocol spawned about
six helpers per command (base64, tr, rm), about 25 ms on macOS.
Implementations§
Auto Trait Implementations§
impl !Sync for Session
impl Forget for Session
impl Freeze for Session
impl Move for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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