Skip to content

Commit

Permalink
[ISSUE #592]Add doc for StatisticsItemScheduledPrinter struct
Browse files Browse the repository at this point in the history
  • Loading branch information
flydream-ylgw committed Jun 15, 2024
1 parent b133f4a commit 359a85a
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,33 @@
*/
use crate::common::statistics::statistics_item::StatisticsItem;

/// `StatisticsItemScheduledPrinter` is a struct that provides functionality for scheduling and
/// removing `StatisticsItem`.
pub struct StatisticsItemScheduledPrinter;

impl StatisticsItemScheduledPrinter {
/// Schedules a `StatisticsItem`.
///
/// # Arguments
///
/// * `_statistics_item` - A reference to the `StatisticsItem` that needs to be scheduled.
///
/// # Panics
///
/// This function currently panics with `unimplemented!()`.
pub fn schedule(&self, _statistics_item: &StatisticsItem) {
unimplemented!()
}

/// Removes a `StatisticsItem`.
///
/// # Arguments
///
/// * `_statistics_item` - A reference to the `StatisticsItem` that needs to be removed.
///
/// # Panics
///
/// This function currently panics with `unimplemented!()`.
pub fn remove(&self, _statistics_item: &StatisticsItem) {
unimplemented!()
}
Expand Down

0 comments on commit 359a85a

Please sign in to comment.