pub struct StatsEngine { /* private fields */ }Implementations§
Source§impl StatsEngine
impl StatsEngine
pub fn new(config: CortexConfig) -> Self
pub async fn fetch_summary(&self, days: u32) -> Result<UsageSummary>
Auto Trait Implementations§
impl Freeze for StatsEngine
impl RefUnwindSafe for StatsEngine
impl Send for StatsEngine
impl Sync for StatsEngine
impl Unpin for StatsEngine
impl UnsafeUnpin for StatsEngine
impl UnwindSafe for StatsEngine
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