Struct mon::gridfs::Store
[−]
[src]
pub struct Store { pub inner: Arc<StoreInner>, }
Fields
inner: Arc<StoreInner>
Methods
impl Store
[src]
fn with_db(db: Database) -> Store
fn with_prefix(db: Database, prefix: String) -> Store
fn create(&self, name: String) -> Result<File>
fn open(&self, name: String) -> Result<File>
fn open_id(&self, id: ObjectId) -> Result<File>
fn find(
&self,
filter: Option<Document>,
options: Option<FindOptions>
) -> Result<FileCursor>
&self,
filter: Option<Document>,
options: Option<FindOptions>
) -> Result<FileCursor>
fn remove(&self, name: String) -> Result<()>
fn remove_id(&self, id: ObjectId) -> Result<()>
fn put(&self, name: String) -> Result<()>
fn get(&self, name: String) -> Result<()>
Trait Implementations
impl Clone for Store
[src]
fn clone(&self) -> Store
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more