pub trait Close: Sized {
type State: Retry;
// Required method
fn try_close(self) -> Result<(), Self::State>;
}Expand description
Consumes an owner, retaining failed cleanup for retry.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".