pub struct Key {
pub dir: Vec<Vec<u8>>,
pub key: Vec<u8>,
}Expand description
The owned (dir, key) form, for callers that hold a key across async
boundaries, in contrast to the borrowed forms the store operations
take. dir must pass validate_dir; key is
arbitrary bytes.
Fields§
§dir: Vec<Vec<u8>>The directory path (UTF-8 segments).
key: Vec<u8>The key within the directory (arbitrary bytes).
Trait Implementations§
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Forget for Key
impl Freeze for Key
impl Move for Key
impl RefUnwindSafe for Key
impl Send for Keywhere
RawVecInner: Send,
impl Sync for Keywhere
RawVecInner: Sync,
impl Unpin for Key
impl UnsafeUnpin for Keywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec<u8>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Keywhere
RawVecInner: 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