pub struct Mapped<B>where
B: BytesMapping,{
_mapping: PhantomData<B>,
repr: B::Bytes,
}
Expand description
A container for the bytestring that is produced from BytesMapping
conversion
Fields§
§_mapping: PhantomData<B>
§repr: B::Bytes
Implementations§
Trait Implementations§
source§impl<B> AsBytes for Mapped<B>where
B: BytesMapping,
impl<B> AsBytes for Mapped<B>where B: BytesMapping,
source§impl<B> Hash for Mapped<B>where
B: BytesMapping,
impl<B> Hash for Mapped<B>where B: BytesMapping,
source§impl<B> Ord for Mapped<B>where
B: BytesMapping,
impl<B> Ord for Mapped<B>where B: BytesMapping,
source§impl<B> PartialEq<Mapped<B>> for Mapped<B>where
B: BytesMapping,
impl<B> PartialEq<Mapped<B>> for Mapped<B>where B: BytesMapping,
source§impl<B> PartialOrd<Mapped<B>> for Mapped<B>where
B: BytesMapping,
impl<B> PartialOrd<Mapped<B>> for Mapped<B>where B: BytesMapping,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<B> Copy for Mapped<B>where B: BytesMapping, B::Bytes: Copy,
impl<B> Eq for Mapped<B>where B: BytesMapping,
impl NoPrefixesBytes for Mapped<ToBE<NonZeroU128>>
impl NoPrefixesBytes for Mapped<ToBE<NonZeroU16>>
impl NoPrefixesBytes for Mapped<ToBE<NonZeroU32>>
impl NoPrefixesBytes for Mapped<ToBE<NonZeroU64>>
impl NoPrefixesBytes for Mapped<ToBE<NonZeroU8>>
impl NoPrefixesBytes for Mapped<ToBE<NonZeroUsize>>
impl NoPrefixesBytes for Mapped<ToBE<u128>>
impl NoPrefixesBytes for Mapped<ToBE<u16>>
impl NoPrefixesBytes for Mapped<ToBE<u32>>
impl NoPrefixesBytes for Mapped<ToBE<u64>>
impl NoPrefixesBytes for Mapped<ToBE<u8>>
impl NoPrefixesBytes for Mapped<ToBE<usize>>
impl NoPrefixesBytes for Mapped<ToOctets<Ipv4Addr>>
impl NoPrefixesBytes for Mapped<ToOctets<Ipv6Addr>>
impl NoPrefixesBytes for Mapped<ToUIntBE<NonZeroI128>>
impl NoPrefixesBytes for Mapped<ToUIntBE<NonZeroI16>>
impl NoPrefixesBytes for Mapped<ToUIntBE<NonZeroI32>>
impl NoPrefixesBytes for Mapped<ToUIntBE<NonZeroI64>>
impl NoPrefixesBytes for Mapped<ToUIntBE<NonZeroI8>>
impl NoPrefixesBytes for Mapped<ToUIntBE<NonZeroIsize>>
impl NoPrefixesBytes for Mapped<ToUIntBE<i128>>
impl NoPrefixesBytes for Mapped<ToUIntBE<i16>>
impl NoPrefixesBytes for Mapped<ToUIntBE<i32>>
impl NoPrefixesBytes for Mapped<ToUIntBE<i64>>
impl NoPrefixesBytes for Mapped<ToUIntBE<i8>>
impl NoPrefixesBytes for Mapped<ToUIntBE<isize>>
impl OrderedBytes for Mapped<ToBE<NonZeroU128>>
impl OrderedBytes for Mapped<ToBE<NonZeroU16>>
impl OrderedBytes for Mapped<ToBE<NonZeroU32>>
impl OrderedBytes for Mapped<ToBE<NonZeroU64>>
impl OrderedBytes for Mapped<ToBE<NonZeroU8>>
impl OrderedBytes for Mapped<ToBE<NonZeroUsize>>
impl OrderedBytes for Mapped<ToBE<u128>>
impl OrderedBytes for Mapped<ToBE<u16>>
impl OrderedBytes for Mapped<ToBE<u32>>
impl OrderedBytes for Mapped<ToBE<u64>>
impl OrderedBytes for Mapped<ToBE<u8>>
impl OrderedBytes for Mapped<ToBE<usize>>
impl OrderedBytes for Mapped<ToOctets<Ipv4Addr>>
impl OrderedBytes for Mapped<ToOctets<Ipv6Addr>>
impl OrderedBytes for Mapped<ToUIntBE<NonZeroI128>>
impl OrderedBytes for Mapped<ToUIntBE<NonZeroI16>>
impl OrderedBytes for Mapped<ToUIntBE<NonZeroI32>>
impl OrderedBytes for Mapped<ToUIntBE<NonZeroI64>>
impl OrderedBytes for Mapped<ToUIntBE<NonZeroI8>>
impl OrderedBytes for Mapped<ToUIntBE<NonZeroIsize>>
impl OrderedBytes for Mapped<ToUIntBE<i128>>
impl OrderedBytes for Mapped<ToUIntBE<i16>>
impl OrderedBytes for Mapped<ToUIntBE<i32>>
impl OrderedBytes for Mapped<ToUIntBE<i64>>
impl OrderedBytes for Mapped<ToUIntBE<i8>>
impl OrderedBytes for Mapped<ToUIntBE<isize>>
Auto Trait Implementations§
impl<B> RefUnwindSafe for Mapped<B>where B: RefUnwindSafe, <B as BytesMapping>::Bytes: RefUnwindSafe,
impl<B> Send for Mapped<B>where B: Send, <B as BytesMapping>::Bytes: Send,
impl<B> Sync for Mapped<B>where B: Sync, <B as BytesMapping>::Bytes: Sync,
impl<B> Unpin for Mapped<B>where B: Unpin, <B as BytesMapping>::Bytes: Unpin,
impl<B> UnwindSafe for Mapped<B>where B: UnwindSafe, <B as BytesMapping>::Bytes: 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