pub struct Events {
pub vec: Vec<Event>,
}
Fields§
§vec: Vec<Event>
Implementations§
Source§impl Events
impl Events
pub fn new() -> Self
pub fn attempt_count(&self) -> usize
pub fn success_count(&self) -> usize
pub fn failure_count(&self) -> usize
pub fn success_rate(&self) -> f64
pub fn success_round_trip_statistics(&self) -> Vec<RoundTripStatistics>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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