[][src]Struct xapian_rusty::WritableDatabase

pub struct WritableDatabase { /* fields omitted */ }

Implementations

impl WritableDatabase[src]

pub fn new(path: &str, action: i8, db_type: i8) -> Result<Self, XError>[src]

pub fn delete_document(&mut self, unique_term: &str) -> Result<(), XError>[src]

pub fn replace_document(
    &mut self,
    unique_term: &str,
    doc: &mut Document
) -> Result<(), XError>
[src]

pub fn commit(&mut self) -> Result<(), XError>[src]

pub fn get_doccount(&mut self) -> Result<i32, XError>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.