Struct pgp::composed::key::SecretKeyParamsBuilder [−][src]
pub struct SecretKeyParamsBuilder { /* fields omitted */ }
Expand description
Builder for SecretKeyParams
.
Implementations
pub fn preferred_symmetric_algorithms(
&mut self,
value: SmallVec<[SymmetricKeyAlgorithm; 8]>
) -> &mut Self
pub fn preferred_symmetric_algorithms(
&mut self,
value: SmallVec<[SymmetricKeyAlgorithm; 8]>
) -> &mut Self
List of symmetric algorithms that indicate which algorithms the key holder prefers to use.
List of hash algorithms that indicate which algorithms the key holder prefers to use.
pub fn preferred_compression_algorithms(
&mut self,
value: SmallVec<[CompressionAlgorithm; 8]>
) -> &mut Self
pub fn preferred_compression_algorithms(
&mut self,
value: SmallVec<[CompressionAlgorithm; 8]>
) -> &mut Self
List of compression algorithms that indicate which algorithms the key holder prefers to use.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SecretKeyParamsBuilder
impl Send for SecretKeyParamsBuilder
impl Sync for SecretKeyParamsBuilder
impl Unpin for SecretKeyParamsBuilder
impl UnwindSafe for SecretKeyParamsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Called to initialize a place to a valid value, after it is set to all-bits-zero. Read more
type Output = T
type Output = T
Should always be Self