//! Rollers
usestd::error::Error;usestd::fmt;usestd::path::Path;pubmoddelete;pubmodfixed_window;/// A trait which processes log files after they have been rolled over.
pubtraitRoll: fmt::Debug + Send + Sync + 'static {/// Processes the log file.
////// At the time that this method has been called, the log file has already
/// been closed.
////// If this method returns successfully, there *must* no longer be a file
/// at the specified location.
fnroll(&self, file:&Path)->Result<(), Box<Error>>;}