Type Alias SecMessageBlock

Source
pub type SecMessageBlock = *mut DynBlock<dyn Fn(*const CFType, *mut CFError, u8)>;
Available on crate features SecTransform and block2 only.
Expand description

A SecMessageBlock is used by a transform instance to deliver messages during asynchronous operations.

Parameter message: A CFType containing the message. This is where either intermediate or final results are returned.

Parameter error: If an error occurred, this will contain a CFErrorRef, otherwise this will be NULL. If not NULL the caller is responsible for releasing the CFErrorRef.

Parameter isFinal: If set the message returned is the final result otherwise it is an intermediate result.

See also Apple’s documentation