[−][src]Struct rdx::KeyBytesWith
Implements KeyBytes<K>
given a key length and a getter for key bytes
Fields
bytes: B
A getter for key bytes. Should yield valid, constant bytes for any length <= len(key)
len: L
A getter for key lengths.
Trait Implementations
impl<B: Clone, L: Clone> Clone for KeyBytesWith<B, L>
[src]
fn clone(&self) -> KeyBytesWith<B, L>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<B: Copy, L: Copy> Copy for KeyBytesWith<B, L>
[src]
impl<B: Debug, L: Debug> Debug for KeyBytesWith<B, L>
[src]
impl<B, L, K> KeyBytes<K> for KeyBytesWith<B, L> where
L: KeyLength<K>,
B: Fn(&K, usize) -> u8,
[src]
L: KeyLength<K>,
B: Fn(&K, usize) -> u8,
Auto Trait Implementations
impl<B, L> RefUnwindSafe for KeyBytesWith<B, L> where
B: RefUnwindSafe,
L: RefUnwindSafe,
B: RefUnwindSafe,
L: RefUnwindSafe,
impl<B, L> Send for KeyBytesWith<B, L> where
B: Send,
L: Send,
B: Send,
L: Send,
impl<B, L> Sync for KeyBytesWith<B, L> where
B: Sync,
L: Sync,
B: Sync,
L: Sync,
impl<B, L> Unpin for KeyBytesWith<B, L> where
B: Unpin,
L: Unpin,
B: Unpin,
L: Unpin,
impl<B, L> UnwindSafe for KeyBytesWith<B, L> where
B: UnwindSafe,
L: UnwindSafe,
B: UnwindSafe,
L: 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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,