pub async fn dial_until<F>(
endpoint: &Handle,
target: Target,
to: &Uri,
options: &DialOptions,
cancelled: F,
) -> Result<Call>Expand description
Place a call until it completes or cancelled resolves.
This has the same bounded authentication and session-interval retries as dial. If
cancellation wins while an INVITE is outstanding, the invitation is withdrawn before this
returns, including the ACK-then-BYE race when a successful final response was already in
flight. The returned Error::Cancelled distinguishes that local stop from a peer refusal.