pub struct StreamableHttpClientTransportConfig {
pub uri: Arc<str>,
pub retry_config: Arc<dyn SseRetryPolicy>,
pub channel_buffer_capacity: usize,
pub allow_stateless: bool,
}Available on crate feature
transport-streamable-http-client only.Fields§
§uri: Arc<str>§retry_config: Arc<dyn SseRetryPolicy>§channel_buffer_capacity: usize§allow_stateless: boolif true, the transport will not require a session to be established
Implementations§
Trait Implementations§
Source§impl Clone for StreamableHttpClientTransportConfig
impl Clone for StreamableHttpClientTransportConfig
Source§fn clone(&self) -> StreamableHttpClientTransportConfig
fn clone(&self) -> StreamableHttpClientTransportConfig
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 moreAuto Trait Implementations§
impl Freeze for StreamableHttpClientTransportConfig
impl !RefUnwindSafe for StreamableHttpClientTransportConfig
impl Send for StreamableHttpClientTransportConfig
impl Sync for StreamableHttpClientTransportConfig
impl Unpin for StreamableHttpClientTransportConfig
impl UnsafeUnpin for StreamableHttpClientTransportConfig
impl !UnwindSafe for StreamableHttpClientTransportConfig
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