Skip to main content

complete

Function complete 

Source
pub fn complete(
    cleanup: impl FnOnce() -> Result<(), String>,
    release: impl FnOnce() -> Result<(), String>,
) -> Result<(), String>
Expand description

Complete source teardown followed by credential revocation or engine shutdown. Both failures must remain visible; callers invalidate the native owner first.