pub struct MultiTracker { /* private fields */ }Expand description
Container for multiple Trackers
Implementations§
Source§impl MultiTracker
impl MultiTracker
Sourcepub fn add_tracker(&mut self, tracker: Tracker)
pub fn add_tracker(&mut self, tracker: Tracker)
Basic constructor Add a new tracker
Trait Implementations§
Source§impl Default for MultiTracker
impl Default for MultiTracker
Source§impl Track for MultiTracker
impl Track for MultiTracker
Source§fn enabled_level(&self, id: Id) -> Level
fn enabled_level(&self, id: Id) -> Level
Determine the most verbose tracking level enabled for an entity.
Source§fn monitoring_window_size_for(&self, id: Id) -> Option<u64>
fn monitoring_window_size_for(&self, id: Id) -> Option<u64>
Return the monitoring window size if it is to be enabled.
Entity looked up by its ID.
Source§fn add_entity(
&self,
id: Id,
entity_name: &str,
alternative_names: AlternativeNames<'_>,
) -> Level
fn add_entity( &self, id: Id, entity_name: &str, alternative_names: AlternativeNames<'_>, ) -> Level
Record an entity being created.
Source§fn begin_activity(&self, activity: Id, lane: Id, name: &str)
fn begin_activity(&self, activity: Id, lane: Id, name: &str)
Track the beginning of a named activity on a lane.
Source§fn add_to_group(&self, activity: Id, group_id: Id)
fn add_to_group(&self, activity: Id, group_id: Id)
Track when an activity becomes a member of a group.
Source§fn remove_from_group(&self, activity: Id, group_id: Id)
fn remove_from_group(&self, activity: Id, group_id: Id)
Track when an activity is no longer a member of a group.
Source§fn end_activity(&self, activity: Id)
fn end_activity(&self, activity: Id)
Track the end of the current activity on a lane.
Source§fn create_entity(&self, created_by: Id, id: Id, name: &str)
fn create_entity(&self, created_by: Id, id: Id, name: &str)
Track when an entity with the given ID is created.
Source§fn create_monitor(&self, created_by: Id, id: Id, name: &str)
fn create_monitor(&self, created_by: Id, id: Id, name: &str)
Track when a monitor with the given ID is created.
Source§fn create_lane(&self, created_by: Id, id: Id, name: &str)
fn create_lane(&self, created_by: Id, id: Id, name: &str)
Track when a lane with the given ID is created.
Source§fn create_group(&self, created_by: Id, id: Id, name: &str)
fn create_group(&self, created_by: Id, id: Id, name: &str)
Track when a group with the given ID is created.
Source§fn create_object(
&self,
created_by: Id,
id: Id,
size: usize,
units: &str,
req_type: u8,
details: &str,
)
fn create_object( &self, created_by: Id, id: Id, size: usize, units: &str, req_type: u8, details: &str, )
Track when an object with the given ID is created.
Source§fn destroy(&self, destroyed_by: Id, id: Id)
fn destroy(&self, destroyed_by: Id, id: Id)
Track when an entity with the given ID is destroyed.
Source§fn connect(&self, connect_from: Id, connect_to: Id)
fn connect(&self, connect_from: Id, connect_to: Id)
Track when an entity is connected to another entity
Auto Trait Implementations§
impl !Freeze for MultiTracker
impl !RefUnwindSafe for MultiTracker
impl !Send for MultiTracker
impl !Sync for MultiTracker
impl !UnwindSafe for MultiTracker
impl Unpin for MultiTracker
impl UnsafeUnpin for MultiTracker
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