Function ink_env::rent_status [−][src]
pub fn rent_status<T>(at_refcount: Option<NonZeroU32>) -> Result<RentStatus<T>> where
T: Environment,
Expand description
Returns information about the required deposit and resulting rent.
Parameters
-
at_refcount
: Therefcount
assumed for the returnedcustom_refcount_*
fields. IfNone
is supplied thecustom_refcount_*
fields will also beNone
.The
current_*
fields ofRentStatus
do not consider changes to the code’srefcount
made during the currently running call.
Errors
If the returned value cannot be properly decoded.