Struct persist::unreliable::UnreliableBlob [−][src]
pub struct UnreliableBlob<B> {
handle: UnreliableHandle,
blob: B,
}
Expand description
An unreliable delegate to Blob.
Fields
handle: UnreliableHandle
blob: B
Implementations
Returns a new UnreliableBlob and a handle for controlling it.
Returns a new UnreliableLog sharing the given handle.
Trait Implementations
type Config = UnreliableBlobConfig<B>
type Config = UnreliableBlobConfig<B>
The configuration necessary to open this type of storage.
type Read = UnreliableBlob<B::Read>
type Read = UnreliableBlob<B::Read>
The corresponding BlobRead implementation.
fn open_exclusive(
config: UnreliableBlobConfig<B>,
lock_info: LockInfo
) -> Result<Self, Error>
fn open_exclusive(
config: UnreliableBlobConfig<B>,
lock_info: LockInfo
) -> Result<Self, Error>
Opens the given location for exclusive read-write access. Read more
Opens the given location for non-exclusive read-only access. Read more
Inserts a key-value pair into the map. Read more
Returns a reference to the value corresponding to the key.
List all of the keys in the map.
Auto Trait Implementations
impl<B> RefUnwindSafe for UnreliableBlob<B> where
B: RefUnwindSafe,
impl<B> Send for UnreliableBlob<B> where
B: Send,
impl<B> Sync for UnreliableBlob<B> where
B: Sync,
impl<B> Unpin for UnreliableBlob<B> where
B: Unpin,
impl<B> UnwindSafe for UnreliableBlob<B> where
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more