pub struct PointValue { /* private fields */ }Expand description
Value returned by BucketReader::get.
A PointValue may own its bytes or keep a shared reference to bytes inside
a decoded table block. Use as_bytes when you only need to inspect the
value, or into_vec when you need owned bytes.
Implementations§
Source§impl PointValue
impl PointValue
Trait Implementations§
Source§impl AsRef<[u8]> for PointValue
impl AsRef<[u8]> for PointValue
Source§impl Clone for PointValue
impl Clone for PointValue
Source§fn clone(&self) -> PointValue
fn clone(&self) -> PointValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointValue
impl Debug for PointValue
impl Eq for PointValue
Source§impl PartialEq for PointValue
impl PartialEq for PointValue
Source§fn eq(&self, other: &PointValue) -> bool
fn eq(&self, other: &PointValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointValue
Auto Trait Implementations§
impl Freeze for PointValue
impl RefUnwindSafe for PointValue
impl Send for PointValue
impl Sync for PointValue
impl Unpin for PointValue
impl UnsafeUnpin for PointValue
impl UnwindSafe for PointValue
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