pub enum Key<'a> {
Index(u64),
Str(&'a str),
Bytes(&'a [u8]),
ZStr(&'a ZStr),
}
Expand description
Key for ZArr.
Variants§
Index(u64)
Index type key.
Str(&'a str)
String type key.
Bytes(&'a [u8])
String type key.
ZStr(&'a ZStr)
String type key.
Trait Implementations§
impl<'a> StructuralPartialEq for Key<'a>
Auto Trait Implementations§
impl<'a> Freeze for Key<'a>
impl<'a> RefUnwindSafe for Key<'a>
impl<'a> !Send for Key<'a>
impl<'a> !Sync for Key<'a>
impl<'a> Unpin for Key<'a>
impl<'a> UnwindSafe for Key<'a>
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