Skip to main content

into_unpoisoned

Function into_unpoisoned 

Source
pub fn into_unpoisoned<T>(mutex: Mutex<T>) -> T
Expand description

Return the value of mutex, which no panic can leave half-changed, and consume the mutex.