[−][src]Struct koibumi_core::identity::DeterministicBuilder
A builder for building a deterministic identity.
Implementations
impl DeterministicBuilder
[src]
pub fn config(&mut self, v: &Config) -> &mut Self
[src]
A shortcut to set parameters from a config object.
pub fn version(&mut self, v: AddressVersion) -> &mut Self
[src]
Sets the address version.
pub fn stream(&mut self, v: StreamNumber) -> &mut Self
[src]
Sets the stream number.
pub fn zeros(&mut self, v: usize) -> &mut Self
[src]
Sets the minimum count of leading zeros in the hash of the public keys.
pub fn features(&mut self, v: Features) -> &mut Self
[src]
Sets the features.
pub fn nonce_trials_per_byte(&mut self, v: NonceTrialsPerByte) -> &mut Self
[src]
Sets the nonce trials per byte.
pub fn payload_length_extra_bytes(
&mut self,
v: PayloadLengthExtraBytes
) -> &mut Self
[src]
&mut self,
v: PayloadLengthExtraBytes
) -> &mut Self
Sets the payload length extra bytes.
pub fn build(
&self,
n: usize,
cancel: Arc<AtomicBool>
) -> Result<Vec<Private>, Error>
[src]
&self,
n: usize,
cancel: Arc<AtomicBool>
) -> Result<Vec<Private>, Error>
Returns the private identity this builder represents.
Trait Implementations
impl Clone for DeterministicBuilder
[src]
pub fn clone(&self) -> DeterministicBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeterministicBuilder
[src]
impl Eq for DeterministicBuilder
[src]
impl Hash for DeterministicBuilder
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DeterministicBuilder> for DeterministicBuilder
[src]
pub fn eq(&self, other: &DeterministicBuilder) -> bool
[src]
pub fn ne(&self, other: &DeterministicBuilder) -> bool
[src]
impl StructuralEq for DeterministicBuilder
[src]
impl StructuralPartialEq for DeterministicBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeterministicBuilder
[src]
impl Send for DeterministicBuilder
[src]
impl Sync for DeterministicBuilder
[src]
impl Unpin for DeterministicBuilder
[src]
impl UnwindSafe for DeterministicBuilder
[src]
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,
pub 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> 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,