Hide compensate_dropped from public API
This commit is contained in:
parent
45a27eeb17
commit
1ee9a10343
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ impl Device {
|
||||||
/// Do SYN_DROPPED synchronization, and compensate for missing events by inserting events into
|
/// Do SYN_DROPPED synchronization, and compensate for missing events by inserting events into
|
||||||
/// the stream which, when applied to any state being kept outside of this `Device`, will
|
/// the stream which, when applied to any state being kept outside of this `Device`, will
|
||||||
/// synchronize it with the kernel state.
|
/// synchronize it with the kernel state.
|
||||||
pub fn compensate_dropped(&mut self) -> Result<(), Error> {
|
fn compensate_dropped(&mut self) -> Result<(), Error> {
|
||||||
let mut drop_from = None;
|
let mut drop_from = None;
|
||||||
for (idx, event) in self.pending_events[self.last_seen..].iter().enumerate() {
|
for (idx, event) in self.pending_events[self.last_seen..].iter().enumerate() {
|
||||||
if event._type == SYN_DROPPED as u16 {
|
if event._type == SYN_DROPPED as u16 {
|
||||||
|
|
Loading…
Reference in a new issue