Struct dfir_toolkit::es4forensics::Index
source · pub struct Index { /* private fields */ }Implementations§
source§impl Index
impl Index
pub fn new(name: String, client: Elasticsearch) -> Self
pub async fn add_timeline_object<Obj>(&mut self, object: Obj) -> Result<()>where Obj: TimelineObject,
pub async fn add_bulk_document(&mut self, document: Value) -> Result<()>
pub async fn flush(&mut self) -> Result<()>
pub async fn set_cache_size(&mut self, cache_size: usize) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl !UnwindSafe for Index
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