Module rustbus::connection::ll_conn

source ·

Structs

  • A lowlevel abstraction over the raw unix socket
  • Handles the process of actually sending a message over the connection it was created from. This allows graceful handling of short writes or timeouts with only parts of the message written. You can loop over write or write_once or use write_all to wait until all bytes have been written or an error besides a timeout arises.
  • Tracks the progress of sending the message. Can be used to resume a SendMessageContext.

Functions

  • only call if you deem the connection doomed by an error returned from writing. The connection might be left in an invalid state if some but not all bytes of the message have been written