Enum heed_types::Unit
source · pub enum Unit {}
Expand description
Describes the unit ()
type.
Trait Implementations§
source§impl BytesDecode<'_> for Unit
impl BytesDecode<'_> for Unit
source§fn bytes_decode(bytes: &[u8]) -> Result<Self::DItem, BoxedError>
fn bytes_decode(bytes: &[u8]) -> Result<Self::DItem, BoxedError>
Decode the given bytes as
DItem
.source§impl BytesEncode<'_> for Unit
impl BytesEncode<'_> for Unit
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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