/// `attempt_reconnection` will cause state_watcher to attempt to make an outgoing connection when
/// woken.
`attempt_reconnection` will cause state_watcher to attempt to make an outgoing connection when
woken.
` attempt_reconnection ` will cause state_watcher to attempt to make an outgoing connection when woken .
fn reset_connection(&mut self, attempt_reconnection: bool) {
        fx_vlog!(tag: "avrcp", 2, "reset_connection {:?}", self.peer_id);
        self.reset_peer_state();
        self.browse_channel = PeerChannel::Disconnected;
        self.control_channel = PeerChannel::Disconnected;
        self.attempt_connection = attempt_reconnection;
        self.wake_state_watcher();
    }
fn reset_connection ( & mut self , attempt_reconnection : bool ) { fx_vlog ! ( tag " " 2 " " self peer_id ) ; self . reset_peer_state ( ) ; self . browse_channel = PeerChannel :: Disconnected ; self . control_channel = PeerChannel :: Disconnected ; self . attempt_connection = attempt_reconnection ; self . wake_state_watcher ( ) ; }
`attempt_reconnection` will cause state_watcher to attempt to make an outgoing connection when
woken.
` attempt_reconnection ` will cause state_watcher to attempt to make an outgoing connection when woken .
&mut self
attempt_reconnection
bool