pub struct ValueBytes(/* private fields */);Expand description
Opaque serialised value bytes.
Implementations§
Source§impl ValueBytes
impl ValueBytes
Sourcepub fn into_inner(self) -> Bytes
pub fn into_inner(self) -> Bytes
Converts into the inner bytes value.
Trait Implementations§
Source§impl AsRef<[u8]> for ValueBytes
impl AsRef<[u8]> for ValueBytes
Source§impl Clone for ValueBytes
impl Clone for ValueBytes
Source§fn clone(&self) -> ValueBytes
fn clone(&self) -> ValueBytes
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 ValueBytes
impl Debug for ValueBytes
impl Eq for ValueBytes
Source§impl From<Bytes> for ValueBytes
impl From<Bytes> for ValueBytes
Source§impl PartialEq for ValueBytes
impl PartialEq for ValueBytes
Source§fn eq(&self, other: &ValueBytes) -> bool
fn eq(&self, other: &ValueBytes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValueBytes
Auto Trait Implementations§
impl !Freeze for ValueBytes
impl RefUnwindSafe for ValueBytes
impl Send for ValueBytes
impl Sync for ValueBytes
impl Unpin for ValueBytes
impl UnsafeUnpin for ValueBytes
impl UnwindSafe for ValueBytes
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