pub struct ScriptPipeEndpoint { /* private fields */ }Expand description
Writer-side endpoint of a ScriptPipe. Resolving it to a stream
attaches one writer; dropping the stream detaches.
Implementations§
Source§impl ScriptPipeEndpoint
impl ScriptPipeEndpoint
Sourcepub fn for_backend(inner: &Arc<PipeInner>) -> Self
pub fn for_backend(inner: &Arc<PipeInner>) -> Self
Fresh writer-side endpoint over an existing backend, for resolution
paths that hold the backend directly instead of a ScriptPipe.
Sourcepub fn stream_handle(&self) -> SharedOutput
pub fn stream_handle(&self) -> SharedOutput
One attached writer half for subprocess stdio or DSL output.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScriptPipeEndpoint
impl RefUnwindSafe for ScriptPipeEndpoint
impl Send for ScriptPipeEndpoint
impl Sync for ScriptPipeEndpoint
impl Unpin for ScriptPipeEndpoint
impl UnsafeUnpin for ScriptPipeEndpoint
impl UnwindSafe for ScriptPipeEndpoint
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