pub struct PatchbayStats {
pub automaton_count: usize,
pub mapping_count: usize,
pub commands_sent: u64,
pub last_update: Option<Duration>,
pub avg_update_time_us: f64,
pub max_update_time_us: f64,
pub error_count: u64,
}Expand description
Статистика работы патчбэя
Fields§
§automaton_count: usizeКоличество активных автоматов
mapping_count: usizeКоличество активных маппингов
commands_sent: u64Количество отправленных команд
last_update: Option<Duration>Время последнего обновления
avg_update_time_us: f64Среднее время обновления (мкс)
max_update_time_us: f64Максимальное время обновления (мкс)
error_count: u64Количество ошибок
Implementations§
Trait Implementations§
Source§impl Clone for PatchbayStats
impl Clone for PatchbayStats
Source§fn clone(&self) -> PatchbayStats
fn clone(&self) -> PatchbayStats
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 PatchbayStats
impl Debug for PatchbayStats
Source§impl Default for PatchbayStats
impl Default for PatchbayStats
Source§fn default() -> PatchbayStats
fn default() -> PatchbayStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PatchbayStats
impl RefUnwindSafe for PatchbayStats
impl Send for PatchbayStats
impl Sync for PatchbayStats
impl Unpin for PatchbayStats
impl UnsafeUnpin for PatchbayStats
impl UnwindSafe for PatchbayStats
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