Enum heed_types::Bytes
source · pub enum Bytes {}
Expand description
Describes a byte slice [u8]
that is totally borrowed and doesn’t depend on
any memory alignment.
Trait Implementations§
source§impl<'a> BytesDecode<'a> for Bytes
impl<'a> BytesDecode<'a> for Bytes
source§fn bytes_decode(bytes: &'a [u8]) -> Result<Self::DItem, BoxedError>
fn bytes_decode(bytes: &'a [u8]) -> Result<Self::DItem, BoxedError>
Decode the given bytes as
DItem
.source§impl<'a> BytesEncode<'a> for Bytes
impl<'a> BytesEncode<'a> for Bytes
Auto Trait Implementations§
impl Freeze for Bytes
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
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