pub struct Objsds<S> { /* private fields */ }Expand description
Client sharing one object store and namespace.
Clones share the same store and create handles for independent single-object structures. Constructing or cloning a client performs no object-store I/O.
Implementations§
Source§impl Objsds<()>
impl Objsds<()>
Sourcepub fn builder() -> ObjsdsBuilder<()>
pub fn builder() -> ObjsdsBuilder<()>
Starts a client builder with no store or namespace.
Source§impl<S: ObjectStore> Objsds<S>
impl<S: ObjectStore> Objsds<S>
Sourcepub fn map<V>(&self, name: impl Into<String>) -> MapBuilder<S, V>
pub fn map<V>(&self, name: impl Into<String>) -> MapBuilder<S, V>
Starts a builder for the named map.
This performs no I/O; lifecycle methods on the returned builder do.
Sourcepub fn log<V>(&self, name: impl Into<String>) -> LogBuilder<S, V>
pub fn log<V>(&self, name: impl Into<String>) -> LogBuilder<S, V>
Starts a builder for the named log.
This performs no I/O; lifecycle methods on the returned builder do.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Objsds<S>
impl<S> RefUnwindSafe for Objsds<S>where
Arc<S>: RefUnwindSafe,
impl<S> Send for Objsds<S>
impl<S> Sync for Objsds<S>
impl<S> Unpin for Objsds<S>
impl<S> UnsafeUnpin for Objsds<S>where
Arc<S>: UnsafeUnpin,
impl<S> UnwindSafe for Objsds<S>where
Arc<S>: 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