Struct c509_certificate::tables::IntTable
source · pub(crate) struct IntTable<T: Eq + Hash> {
map: BiMap<i16, T>,
}
Expand description
A struct that represents a table mapping integers to any type that
implements Eq
and Hash
.
i16 is used because the int value in C509 certificate registry can be -256 to 255.
Fields§
§map: BiMap<i16, T>
A bimap table for bidirectional lookup where it map between i16 and other type.
Trait Implementations§
impl<T: Eq + Hash> StructuralPartialEq for IntTable<T>
Auto Trait Implementations§
impl<T> Freeze for IntTable<T>
impl<T> RefUnwindSafe for IntTable<T>where
T: RefUnwindSafe,
impl<T> Send for IntTable<T>where
T: Send,
impl<T> Sync for IntTable<T>where
T: Sync,
impl<T> Unpin for IntTable<T>
impl<T> UnwindSafe for IntTable<T>where
T: RefUnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)