//! Triggers
usestd::error::Error;usestd::fmt;use LogFile;pubmodsize;/// A trait which identifies if the active log file should be rolled over.
pubtraitTrigger: fmt::Debug + Send + Sync + 'static {/// Determines if the active log file should be rolled over.
fntrigger(&self, file:&LogFile)->Result<bool, Box<Error>>;}