/// Returns future that resolves to `Conn` with socket address stored in it.
///
/// Do nothing if socket address is already in `Opts` or if `prefer_socket` is `false`.
Returns future that resolves to `Conn` with socket address stored in it.
Returns future that resolves to ` Conn ` with socket address stored in it .
async fn read_socket(self) -> Result<Self> {
        if self.inner.opts.get_prefer_socket() && self.inner.socket.is_none() {
            let (mut this, row_opt) = self.first("SELECT @@socket").await?;
            this.inner.socket = row_opt.unwrap_or((None,)).0;
            Ok(this)
        } else {
            Ok(self)
        }
    }
async fn read_socket ( self ) -> Result < Self > { if self . inner . opts . get_prefer_socket ( ) && self . inner . socket . is_none ( ) { let ( mut this , row_opt ) = self . first ( " " ) . await ? ; this . inner . socket = row_opt . unwrap_or ( ( None , ) ) . 0 ; Ok ( this ) } else { Ok ( self ) } }
Returns future that resolves to `Conn` with socket address stored in it.
Returns future that resolves to ` Conn ` with socket address stored in it .
self