pub struct StreamSender(/* private fields */);Expand description
Sender half for streaming command output.
Streaming handlers call StreamSender::send for each progress event.
The engine drains the channel and writes each event as an NDJSON line.
Implementations§
Trait Implementations§
Source§impl Clone for StreamSender
impl Clone for StreamSender
Source§fn clone(&self) -> StreamSender
fn clone(&self) -> StreamSender
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamSender
impl RefUnwindSafe for StreamSender
impl Send for StreamSender
impl Sync for StreamSender
impl Unpin for StreamSender
impl UnsafeUnpin for StreamSender
impl UnwindSafe for StreamSender
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