pub enum Replay {
None,
Backlog,
Lookback(Duration),
}Expand description
The history that the server replays when a connection joins a segment.
Variants§
None
Replays nothing.
Backlog
Replays all the history that the server keeps for the segment.
Lookback(Duration)
Replays what the segment received in this period before the join: whole
milliseconds, from 0 to 4294967295. Zero replays nothing older than the
join, which is different from Replay::None.
Trait Implementations§
impl Copy for Replay
impl Eq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl Freeze for Replay
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnsafeUnpin for Replay
impl UnwindSafe for Replay
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