Skip to main content

is_borrowed

Function is_borrowed 

Source
pub fn is_borrowed() -> bool
Expand description

Whether a with_instance borrow is alive right now.

Exposed for a plugin deciding whether to reach for state or defer.