1#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 2/// The way to rotate log files. 3pub enum RotateMethod { 4 /// Rotate log files by a file size threshold in bytes. 5 FileSize(u64), 6}