pub struct ExecHandle {
pub exec_id: String,
pub stdout: Receiver<Bytes>,
pub stderr: Receiver<Bytes>,
pub stdin: Option<Box<dyn AsyncWrite + Unpin + Send>>,
pub hold: Option<Box<dyn AsyncWrite + Unpin + Send>>,
}Fields§
§exec_id: String§stdout: Receiver<Bytes>§stderr: Receiver<Bytes>§stdin: Option<Box<dyn AsyncWrite + Unpin + Send>>§hold: Option<Box<dyn AsyncWrite + Unpin + Send>>Auto Trait Implementations§
impl !RefUnwindSafe for ExecHandle
impl !Sync for ExecHandle
impl !UnwindSafe for ExecHandle
impl Forget for ExecHandle
impl Freeze for ExecHandlewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<Chan<Bytes, Semaphore>> is !null: Freeze,
PhantomData<ArcInner<Chan<Bytes, Semaphore>>>: Freeze,
*const dyn AsyncWrite + Send + Unpin is !null: Freeze,
PhantomData<dyn AsyncWrite + Send + Unpin>: Freeze,
impl Move for ExecHandle
impl Send for ExecHandle
impl Unpin for ExecHandle
impl UnsafeUnpin for ExecHandlewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Chan<Bytes, Semaphore>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Chan<Bytes, Semaphore>>>: UnsafeUnpin,
*const dyn AsyncWrite + Send + Unpin is !null: UnsafeUnpin,
PhantomData<dyn AsyncWrite + Send + Unpin>: UnsafeUnpin,
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