pub struct SseConfig {
pub connect_timeout: Duration,
pub headers: Vec<(String, String)>,
}Expand description
Configuration for SSE client connections.
Fields§
§connect_timeout: DurationRequest timeout for the initial connection.
headers: Vec<(String, String)>Custom headers to include in the request.
Implementations§
Source§impl SseConfig
impl SseConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SseConfig
impl RefUnwindSafe for SseConfig
impl Send for SseConfig
impl Sync for SseConfig
impl Unpin for SseConfig
impl UnsafeUnpin for SseConfig
impl UnwindSafe for SseConfig
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