pub struct Performance { /* private fields */ }Implementations§
Source§impl Performance
impl Performance
Sourcepub fn app(&self) -> &FirebaseApp
pub fn app(&self) -> &FirebaseApp
Returns the FirebaseApp that owns this Performance monitor.
Sourcepub fn new_trace(&self, name: &str) -> PerformanceResult<TraceHandle>
pub fn new_trace(&self, name: &str) -> PerformanceResult<TraceHandle>
Creates a new manual trace, mirroring the JS SDK’s trace() helper.
Sourcepub async fn recorded_trace(&self, name: &str) -> Option<PerformanceTrace>
pub async fn recorded_trace(&self, name: &str) -> Option<PerformanceTrace>
Returns the most recently recorded trace with name, if any.
Trait Implementations§
Source§impl Clone for Performance
impl Clone for Performance
Source§fn clone(&self) -> Performance
fn clone(&self) -> Performance
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 moreAuto Trait Implementations§
impl Freeze for Performance
impl !RefUnwindSafe for Performance
impl Send for Performance
impl Sync for Performance
impl Unpin for Performance
impl !UnwindSafe for Performance
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