Struct security_framework::os::macos::digest_transform::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for digest transform operations.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type_(&mut self, digest_type: DigestType) -> &mut Self
pub fn type_(&mut self, digest_type: DigestType) -> &mut Self
Sets the type of digest to perform.
If not set, an appropriate digest will be selected for you.
sourcepub fn length(&mut self, digest_length: CFIndex) -> &mut Self
pub fn length(&mut self, digest_length: CFIndex) -> &mut Self
Sets the output length of the digest.
If not set, an appropriate length will be selected for you. Some digest types only support specific output lengths.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl !Send for Builder
impl !Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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