pub struct BuilderWithParams<A: Algorithm, Params: BuilderParams = ()> { /* private fields */ }
Expand description
Builder type with provided both key length and algorithm-specific parameters.
Implementations§
Source§impl<A: Algorithm, P: BuilderParams> BuilderWithParams<A, P>
impl<A: Algorithm, P: BuilderParams> BuilderWithParams<A, P>
Sourcepub fn build(self) -> Result<AsymmetricKey<A, Private>>
pub fn build(self) -> Result<AsymmetricKey<A, Private>>
Generate the final key.
Auto Trait Implementations§
impl<A, Params> Freeze for BuilderWithParams<A, Params>
impl<A, Params> RefUnwindSafe for BuilderWithParams<A, Params>where
A: RefUnwindSafe,
Params: RefUnwindSafe,
impl<A, Params> Send for BuilderWithParams<A, Params>
impl<A, Params> Sync for BuilderWithParams<A, Params>
impl<A, Params> Unpin for BuilderWithParams<A, Params>
impl<A, Params> UnwindSafe for BuilderWithParams<A, Params>where
A: UnwindSafe,
Params: UnwindSafe,
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