Skip to main content

Retryable

Trait Retryable 

Source
pub trait Retryable {
    // Required method
    fn should_retry(&self) -> bool;
}
Expand description

Output that can indicate whether retry is appropriate.

Required Methods§

Source

fn should_retry(&self) -> bool

Returns true if the operation should be retried.

Implementations on Foreign Types§

Source§

impl Retryable for Result<ChatResponse, LlmError>

Implementors§