fn arrive(&self) -> ActiveSide {
        if self.active_side.get() == ActiveSide::Left {
            self.readers_left.fetch_add(1, Ordering::SeqCst);
            ActiveSide::Left
        } else {
            self.readers_right.fetch_add(1, Ordering::SeqCst);
            ActiveSide::Right
        }
    }
/// Depending on the active side, it increments the counter.
///
/// Returns the used active side.
Depending on the active side, it increments the counter.
Returns the used active side.
Depending on the active side it increments the counter . Returns the used active side .
fn arrive(&self) -> ActiveSide {
        if self.active_side.get() == ActiveSide::Left {
            self.readers_left.fetch_add(1, Ordering::SeqCst);
            ActiveSide::Left
        } else {
            self.readers_right.fetch_add(1, Ordering::SeqCst);
            ActiveSide::Right
        }
    }
fn arrive ( & self ) -> ActiveSide { if self . active_side . get ( ) == ActiveSide :: Left { self . readers_left . fetch_add ( 1 , Ordering :: SeqCst ) ; ActiveSide :: Left } else { self . readers_right . fetch_add ( 1 , Ordering :: SeqCst ) ; ActiveSide :: Right } }
Depending on the active side, it increments the counter.
Depending on the active side it increments the counter .
&self
&self