pub use ExternalBufferSled;
pub use ExternalBufferQueue;
use crateError;
/// The external buffer here allow us to:
/// - save items in an external perssistant storage to achieve crash save
/// for data.
/// - even with a in memory buffer, we can still implement a priority
/// queue for push and shift actions.