pub struct WatchStats {
pub files_watched: usize,
pub builds_triggered: usize,
pub successful_builds: usize,
pub failed_builds: usize,
pub total_watch_time: Duration,
}
Expand description
ウォッチ統計情報
Fields§
§files_watched: usize
§builds_triggered: usize
§successful_builds: usize
§failed_builds: usize
§total_watch_time: Duration
Implementations§
Source§impl WatchStats
impl WatchStats
pub fn new() -> Self
pub fn record_build_success(&mut self)
pub fn record_build_failure(&mut self)
Trait Implementations§
Source§impl Clone for WatchStats
impl Clone for WatchStats
Source§fn clone(&self) -> WatchStats
fn clone(&self) -> WatchStats
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 WatchStats
impl RefUnwindSafe for WatchStats
impl Send for WatchStats
impl Sync for WatchStats
impl Unpin for WatchStats
impl UnwindSafe for WatchStats
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