[ Version ( since = "4.2.10" ) ]
public void force_invalid_e (owned Error? error)
Forces a holder to be invalid; to set it valid again, a new value must be assigned to it using set_value or take_value.
this's value is set to null.
this |
a Holder object |
error |
a Error explaining why this is declared invalid, or null |