pub struct SseReconnectInterval(pub u64);Expand description
Typed wrapper for SSE reconnect interval in seconds (0 = disabled).
Matches Caddy’s sse_reconnect_interval. Injected via axum Extension.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for SseReconnectInterval
impl Clone for SseReconnectInterval
Source§fn clone(&self) -> SseReconnectInterval
fn clone(&self) -> SseReconnectInterval
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SseReconnectInterval
impl Debug for SseReconnectInterval
impl Copy for SseReconnectInterval
Auto Trait Implementations§
impl Freeze for SseReconnectInterval
impl RefUnwindSafe for SseReconnectInterval
impl Send for SseReconnectInterval
impl Sync for SseReconnectInterval
impl Unpin for SseReconnectInterval
impl UnsafeUnpin for SseReconnectInterval
impl UnwindSafe for SseReconnectInterval
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