pub struct IndexWriter<W: Write> { /* private fields */ }Implementations§
Source§impl<W: Write> IndexWriter<W>
impl<W: Write> IndexWriter<W>
pub fn new(w: W) -> Self
pub fn new_with_options(w: W, options: IndexWriterOptions) -> Self
pub fn write_index(&mut self, index: &Index) -> Result<Vec<u8>, Error>
pub fn write_checksum(&mut self, checksum: u32) -> Result<Vec<u8>, Error>
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for IndexWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for IndexWriter<W>where
W: RefUnwindSafe,
impl<W> Send for IndexWriter<W>where
W: Send,
impl<W> Sync for IndexWriter<W>where
W: Sync,
impl<W> Unpin for IndexWriter<W>where
W: Unpin,
impl<W> UnwindSafe for IndexWriter<W>where
W: UnwindSafe,
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