pub enum InputType<'a> {
FixedInput(FixedInput<'a>),
SpecifiedInput(SpecifiedInput<'a>),
}
Expand description
The type of input. May be a fixed input
Variants§
FixedInput(FixedInput<'a>)
Fixed input with a specific counter location. This should only be used when the implementation is undergoing ACVP testing (see https://pages.nist.gov/ACVP/draft-celi-acvp-kbkdf.html#SP800-108)
SpecifiedInput(SpecifiedInput<'a>)
Input specifying label and context
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for InputType<'a>
impl<'a> RefUnwindSafe for InputType<'a>
impl<'a> Send for InputType<'a>
impl<'a> Sync for InputType<'a>
impl<'a> Unpin for InputType<'a>
impl<'a> UnwindSafe for InputType<'a>
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