Skip to main content

check_transport_timeout

Function check_transport_timeout 

Source
pub fn check_transport_timeout(
    transport_timeout_ms: Option<u64>,
    budget_ms: u64,
) -> Result<(), TimeoutBeyondBudget>
Expand description

Refuse a transport timeout longer than the budget available where the adapter is constructed. Adapters call this before any network use.