pub enum BuildNotification {
Started,
TargetStarted(String),
TargetFinished(String, bool),
Completed(bool),
Warning(String),
Error(String),
}Expand description
A notification event emitted during the build process.
Variants§
Started
Build started.
TargetStarted(String)
A target began compiling.
TargetFinished(String, bool)
A target finished compiling.
Completed(bool)
Build completed.
Warning(String)
A warning was emitted.
Error(String)
An error was emitted.
Implementations§
Trait Implementations§
Source§impl Clone for BuildNotification
impl Clone for BuildNotification
Source§fn clone(&self) -> BuildNotification
fn clone(&self) -> BuildNotification
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 moreSource§impl Debug for BuildNotification
impl Debug for BuildNotification
Auto Trait Implementations§
impl Freeze for BuildNotification
impl RefUnwindSafe for BuildNotification
impl Send for BuildNotification
impl Sync for BuildNotification
impl Unpin for BuildNotification
impl UnsafeUnpin for BuildNotification
impl UnwindSafe for BuildNotification
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