Skip to main content

try_acquire

Function try_acquire 

Source
pub fn try_acquire() -> Result<()>
Expand description

Public API – try to acquire permission for a tool call.

Returns Ok(()) when the call is allowed, otherwise an error.