pub struct StreamSender { /* private fields */ }Implementations§
Source§impl StreamSender
impl StreamSender
pub fn log(&self, message: impl Into<String>)
pub fn error(&self, message: impl Into<String>)
pub fn succeeded(&self)
pub fn cancelled(&self)
pub fn failed(&self, exit_code: i32)
pub fn timeout(&self)
pub fn end(&self, result: RunResult)
pub fn is_ended(&self) -> bool
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 · 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 !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