pub type CompressedSize = u64;
Compressed size of a file (in bytes)
This is a type alias for u64.
u64
use std::num::IntErrorKind; use std::str::FromStr; use alpm_types::{CompressedSize, Error}; assert_eq!(CompressedSize::from_str("1"), Ok(1)); assert!(CompressedSize::from_str("-1").is_err());