Struct astro_run::StreamSender
source · 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 copy 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 !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