pub struct RoaringBitmapCodec;
Trait Implementations§
Source§impl BytesDecode<'_> for RoaringBitmapCodec
impl BytesDecode<'_> for RoaringBitmapCodec
Source§type DItem = RoaringBitmap
type DItem = RoaringBitmap
The type to decode.
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 BytesDecodeOwned for RoaringBitmapCodec
impl BytesDecodeOwned for RoaringBitmapCodec
type DItem = RoaringBitmap
fn bytes_decode_owned(bytes: &[u8]) -> Result<Self::DItem, BoxedError>
Source§impl BytesEncode<'_> for RoaringBitmapCodec
impl BytesEncode<'_> for RoaringBitmapCodec
Source§type EItem = RoaringBitmap
type EItem = RoaringBitmap
The type to encode.
Source§fn bytes_encode(item: &Self::EItem) -> Result<Cow<'_, [u8]>, BoxedError>
fn bytes_encode(item: &Self::EItem) -> Result<Cow<'_, [u8]>, BoxedError>
Encode the given item as bytes.
Auto Trait Implementations§
impl Freeze for RoaringBitmapCodec
impl RefUnwindSafe for RoaringBitmapCodec
impl Send for RoaringBitmapCodec
impl Sync for RoaringBitmapCodec
impl Unpin for RoaringBitmapCodec
impl UnwindSafe for RoaringBitmapCodec
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more