Skip to main content

try_connect

Function try_connect 

Source
pub fn try_connect() -> Result<UnixStream, ClientError>
Expand description

Connect to the Scrybe socket at the default location. “Not running” is the typed ClientError::SocketUnavailable — check ClientError::is_not_running.