pub trait SessionLike {
// Required methods
fn started(&self) -> DateTime<Utc>;
fn distinct_id(&self) -> Option<&String>;
fn total_count(&self) -> u32;
fn abnormal_count(&self) -> u32;
fn unhandled_count(&self) -> u32;
fn crashed_count(&self) -> u32;
fn all_errors(&self) -> Option<SessionErrored>;
fn abnormal_mechanism(&self) -> AbnormalMechanism;
}Expand description
Common interface for SessionUpdate and SessionAggregateItem.
Required Methods§
fn started(&self) -> DateTime<Utc>
fn distinct_id(&self) -> Option<&String>
fn total_count(&self) -> u32
fn abnormal_count(&self) -> u32
fn unhandled_count(&self) -> u32
fn crashed_count(&self) -> u32
fn all_errors(&self) -> Option<SessionErrored>
fn abnormal_mechanism(&self) -> AbnormalMechanism
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".