impl Default for IpData

This commit is contained in:
Mike Dilger 2024-02-21 09:05:09 +13:00
parent f98e9a0832
commit 3abe43a771

View File

@ -16,6 +16,12 @@ pub struct IpData {
pub number_of_timeouts: u64,
}
impl Default for IpData {
fn default() -> Self {
Self::new()
}
}
impl IpData {
pub fn new() -> IpData {
IpData {