pub enum LagPolicy {
End,
Skip,
}Expand description
Policy for handling lagged subscribers in a broadcast stream.
Variants§
End
End the stream on lag — client reconnects with Last-Event-ID.
Skip
Skip lagged messages with a warning log, continue streaming.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LagPolicy
impl RefUnwindSafe for LagPolicy
impl Send for LagPolicy
impl Sync for LagPolicy
impl Unpin for LagPolicy
impl UnsafeUnpin for LagPolicy
impl UnwindSafe for LagPolicy
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