pub trait TryDropStrategy {
// Required method
fn handle_error(&self, error: Error);
}
Expand description
A trait which signifies a try drop strategy. This can never fail. If it can, use
FallibleTryDropStrategy
instead.
Required Methods§
Sourcefn handle_error(&self, error: Error)
fn handle_error(&self, error: Error)
Handle the drop error.