split out RRD api types into proxmox-rrd-api-types crate

This commit is contained in:
Dietmar Maurer
2021-10-06 09:49:51 +02:00
parent a97301350f
commit d1c3bc5350
13 changed files with 61 additions and 41 deletions

View File

@ -5,7 +5,7 @@ use anyhow::Error;
use proxmox::tools::{fs::replace_file, fs::CreateOptions};
use crate::{RRDMode, RRDTimeFrameResolution};
use proxmox_rrd_api_types::{RRDMode, RRDTimeFrameResolution};
/// The number of data entries per RRA
pub const RRD_DATA_ENTRIES: usize = 70;