pub struct Engine { /* private fields */ }Implementations§
Source§impl Engine
impl Engine
pub fn create_passcode_verifier( key: &[u8], salt: &[u8], iterations: u32, ) -> Vec<u8> ⓘ
pub fn start(&self, key: &[u8], salt: &[u8], iterations: u32) -> Result<Context>
pub fn finish( &self, ctx: &mut Context, seed: &[u8], cb_received: &[u8], ) -> Result<()>
pub fn new() -> Result<Self>
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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