pub struct FacetGroupKeyCodec<T> { /* private fields */ }Trait Implementations§
Source§impl<'a, T> BytesDecode<'a> for FacetGroupKeyCodec<T>where
T: BytesDecode<'a>,
impl<'a, T> BytesDecode<'a> for FacetGroupKeyCodec<T>where
T: BytesDecode<'a>,
Source§type DItem = FacetGroupKey<<T as BytesDecode<'a>>::DItem>
type DItem = FacetGroupKey<<T as BytesDecode<'a>>::DItem>
The type to decode.
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, T> BytesEncode<'a> for FacetGroupKeyCodec<T>
impl<'a, T> BytesEncode<'a> for FacetGroupKeyCodec<T>
Source§type EItem = FacetGroupKey<<T as BytesEncode<'a>>::EItem>
type EItem = FacetGroupKey<<T as BytesEncode<'a>>::EItem>
The type to encode.
Source§fn bytes_encode(value: &'a Self::EItem) -> Result<Cow<'a, [u8]>, BoxedError>
fn bytes_encode(value: &'a Self::EItem) -> Result<Cow<'a, [u8]>, BoxedError>
Encode the given item as bytes.
Auto Trait Implementations§
impl<T> Freeze for FacetGroupKeyCodec<T>
impl<T> RefUnwindSafe for FacetGroupKeyCodec<T>where
T: RefUnwindSafe,
impl<T> Send for FacetGroupKeyCodec<T>where
T: Send,
impl<T> Sync for FacetGroupKeyCodec<T>where
T: Sync,
impl<T> Unpin for FacetGroupKeyCodec<T>where
T: Unpin,
impl<T> UnwindSafe for FacetGroupKeyCodec<T>where
T: UnwindSafe,
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