pub struct ActorTickSnapshot {
pub name: &'static str,
pub tick_count: u64,
pub average_duration: Duration,
pub max_duration: Duration,
}Expand description
Snapshot of actor tick metrics
Fields§
§name: &'static strActor name
tick_count: u64Total tick count
average_duration: DurationAverage tick duration
max_duration: DurationMaximum tick duration
Trait Implementations§
Source§impl Clone for ActorTickSnapshot
impl Clone for ActorTickSnapshot
Source§fn clone(&self) -> ActorTickSnapshot
fn clone(&self) -> ActorTickSnapshot
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 ActorTickSnapshot
impl Debug for ActorTickSnapshot
Auto Trait Implementations§
impl Freeze for ActorTickSnapshot
impl RefUnwindSafe for ActorTickSnapshot
impl Send for ActorTickSnapshot
impl Sync for ActorTickSnapshot
impl Unpin for ActorTickSnapshot
impl UnwindSafe for ActorTickSnapshot
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