Struct lance::io::object_store::ObjectStore
source · pub struct ObjectStore {
pub inner: Arc<dyn OSObjectStore>,
/* private fields */
}
Expand description
Wraps ObjectStore
Fields§
§inner: Arc<dyn OSObjectStore>
Implementations§
source§impl ObjectStore
impl ObjectStore
pub fn prefetch_size(&self) -> usize
pub fn set_prefetch_size(&mut self, new_size: usize)
pub fn base_path(&self) -> &Path
sourcepub async fn create(&self, path: &Path) -> Result<ObjectWriter>
pub async fn create(&self, path: &Path) -> Result<ObjectWriter>
Create a new file.
Trait Implementations§
source§impl Clone for ObjectStore
impl Clone for ObjectStore
source§fn clone(&self) -> ObjectStore
fn clone(&self) -> ObjectStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more