How to handle partial cleanup?
Greetings friends. Recently I've had some code like this: struct ComplexStruct; impl ComplexStruct { fn claim_singleton() -> Result<(), String> { println!("Claiming singleton..."); Ok(()) } fn write_temp() -> Result<(),…