pub enum ProviderConfigOptionsChunkTimeout {
Variant0(i64),
Variant1(bool),
}Expand description
Timeout in milliseconds between streamed SSE chunks for this provider (default: 300000). If no chunk arrives within this window, the request is aborted. Set to false to disable timeout. Untagged union: serde tries each variant in the order below.
Variants§
Trait Implementations§
Source§impl Clone for ProviderConfigOptionsChunkTimeout
impl Clone for ProviderConfigOptionsChunkTimeout
Source§fn clone(&self) -> ProviderConfigOptionsChunkTimeout
fn clone(&self) -> ProviderConfigOptionsChunkTimeout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ProviderConfigOptionsChunkTimeout
impl<'de> Deserialize<'de> for ProviderConfigOptionsChunkTimeout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ProviderConfigOptionsChunkTimeout
Auto Trait Implementations§
impl Freeze for ProviderConfigOptionsChunkTimeout
impl RefUnwindSafe for ProviderConfigOptionsChunkTimeout
impl Send for ProviderConfigOptionsChunkTimeout
impl Sync for ProviderConfigOptionsChunkTimeout
impl Unpin for ProviderConfigOptionsChunkTimeout
impl UnsafeUnpin for ProviderConfigOptionsChunkTimeout
impl UnwindSafe for ProviderConfigOptionsChunkTimeout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more