pub struct Store { /* private fields */ }Implementations§
Source§impl Store
impl Store
pub fn new( configure: &'static Configure, store_dir: PathBuf, msg_channel: SyncSender<Msg>, ) -> Self
pub fn init(&self) -> Result<(), StoreError>
pub fn store( &self, flow_node: &FlowNode, pkt: Arc<Packet>, now: u128, ) -> Result<(), StoreError>
pub fn link_fin( &self, tuple5: &PacketKey, start_time: u128, now: u128, ) -> Result<(), StoreError>
pub fn timer(&self, now: u128) -> Result<(), StoreError>
pub fn finish(&self)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Store
impl !RefUnwindSafe for Store
impl Send for Store
impl !Sync for Store
impl Unpin for Store
impl UnwindSafe for Store
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more