pub enum InstallEvent {
Step {
text: String,
},
Stdout {
text: String,
},
Stderr {
text: String,
},
Done {
exit_code: Option<i32>,
ok: bool,
},
}Variants§
Step
A […-INSTALL]-prefixed marker line. Drives UI checkpoints
without parsing prose.
Stdout
Non-marker stdout. Curl progress, npm output, etc.
Stderr
stderr line. Often warnings but sometimes the real error.
Done
Terminal event. Always sent exactly once at the end.
Trait Implementations§
Source§impl Clone for InstallEvent
impl Clone for InstallEvent
Source§fn clone(&self) -> InstallEvent
fn clone(&self) -> InstallEvent
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 moreSource§impl Debug for InstallEvent
impl Debug for InstallEvent
Auto Trait Implementations§
impl Freeze for InstallEvent
impl RefUnwindSafe for InstallEvent
impl Send for InstallEvent
impl Sync for InstallEvent
impl Unpin for InstallEvent
impl UnsafeUnpin for InstallEvent
impl UnwindSafe for InstallEvent
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