[−][src]Struct indy_utils::keys::ArrayKey
A secure key representation for fixed-length keys
Implementations
impl<L: ArrayLength<u8>> ArrayKey<L>[src]
pub fn from_slice<D: AsRef<[u8]>>(data: D) -> Self[src]
pub fn extract(self) -> GenericArray<u8, L>[src]
Methods from Deref<Target = GenericArray<u8, L>>
Trait Implementations
impl<L: Clone + ArrayLength<u8>> Clone for ArrayKey<L>[src]
impl<L: Debug + ArrayLength<u8>> Debug for ArrayKey<L>[src]
impl<L: ArrayLength<u8>> Deref for ArrayKey<L>[src]
type Target = GenericArray<u8, L>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl<'a, L: ArrayLength<u8>> Deserialize<'a> for ArrayKey<L>[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>, [src]
D: Deserializer<'a>,
impl<L: Eq + ArrayLength<u8>> Eq for ArrayKey<L>[src]
impl<L: ArrayLength<u8>> From<GenericArray<u8, L>> for ArrayKey<L>[src]
impl<L: Hash + ArrayLength<u8>> Hash for ArrayKey<L>[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<L: Ord + ArrayLength<u8>> Ord for ArrayKey<L>[src]
fn cmp(&self, other: &ArrayKey<L>) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl<L: PartialEq + ArrayLength<u8>> PartialEq<ArrayKey<L>> for ArrayKey<L>[src]
impl<L: PartialOrd + ArrayLength<u8>> PartialOrd<ArrayKey<L>> for ArrayKey<L>[src]
fn partial_cmp(&self, other: &ArrayKey<L>) -> Option<Ordering>[src]
fn lt(&self, other: &ArrayKey<L>) -> bool[src]
fn le(&self, other: &ArrayKey<L>) -> bool[src]
fn gt(&self, other: &ArrayKey<L>) -> bool[src]
fn ge(&self, other: &ArrayKey<L>) -> bool[src]
impl<L: ArrayLength<u8>> Serialize for ArrayKey<L>[src]
impl<L: ArrayLength<u8>> StructuralEq for ArrayKey<L>[src]
impl<L: ArrayLength<u8>> StructuralPartialEq for ArrayKey<L>[src]
impl<L: ArrayLength<u8>> Zeroize for ArrayKey<L> where
GenericArray<u8, L>: Zeroize,
L: Zeroize, [src]
GenericArray<u8, L>: Zeroize,
L: Zeroize,
Auto Trait Implementations
impl<L> RefUnwindSafe for ArrayKey<L> where
<L as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<L as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<L> Send for ArrayKey<L>
impl<L> Sync for ArrayKey<L>
impl<L> Unpin for ArrayKey<L> where
<L as ArrayLength<u8>>::ArrayType: Unpin,
<L as ArrayLength<u8>>::ArrayType: Unpin,
impl<L> UnwindSafe for ArrayKey<L> where
<L as ArrayLength<u8>>::ArrayType: UnwindSafe,
<L as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,