Module ddmw_client::conn

source ·
Expand description

Methods used to establish connections to DDMW Core servers’ client interfaces.

Structs

Enums

Functions

  • Connect to one of the DDMW core’s client interfaces and optionally attempt to authenticate.
  • Waits for a message and ensures that it’s Ok or Fail. Converts Fail state to an Error::ServerError. Returns a Params buffer containig the Ok parameters on success.
  • Send a telegram then wait for and return the server’s reply. If the server returns a Fail, it will be returned as Err(Error::ServerError).
  • Return the current owner of a connection.

Type Aliases