Struct term_transcript::traits::SpawnedShell
source · [−]pub struct SpawnedShell<S: SpawnShell + ?Sized> {
pub shell: S::ShellProcess,
pub reader: S::Reader,
pub writer: S::Writer,
}
Expand description
Wrapper for spawned shell and related I/O returned by SpawnShell::spawn_shell()
.
Fields
shell: S::ShellProcess
Shell process.
reader: S::Reader
Reader of shell output.
writer: S::Writer
Writer to shell input.
Trait Implementations
Auto Trait Implementations
impl<S: ?Sized> RefUnwindSafe for SpawnedShell<S> where
<S as SpawnShell>::Reader: RefUnwindSafe,
<S as SpawnShell>::ShellProcess: RefUnwindSafe,
<S as SpawnShell>::Writer: RefUnwindSafe,
impl<S: ?Sized> Send for SpawnedShell<S> where
<S as SpawnShell>::ShellProcess: Send,
impl<S: ?Sized> Sync for SpawnedShell<S> where
<S as SpawnShell>::Reader: Sync,
<S as SpawnShell>::ShellProcess: Sync,
<S as SpawnShell>::Writer: Sync,
impl<S: ?Sized> Unpin for SpawnedShell<S> where
<S as SpawnShell>::Reader: Unpin,
<S as SpawnShell>::ShellProcess: Unpin,
<S as SpawnShell>::Writer: Unpin,
impl<S: ?Sized> UnwindSafe for SpawnedShell<S> where
<S as SpawnShell>::Reader: UnwindSafe,
<S as SpawnShell>::ShellProcess: UnwindSafe,
<S as SpawnShell>::Writer: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more