connect

abstract fun connect(): Result<Connection>

Attempts to connect.

Return

a Result with the connection if successful, an Error otherwise.