Crate tokio_ddmw

Crate tokio_ddmw 

Source
Expand description

Utility library for creating integrations against the Data Diode Middleware.

This library provides low level functions to perform arbitrary calls to the server nodes as well as a few high-level helper functions that are built on top of the low level functions.

Re-exports§

pub use err::Error;

Modules§

auth
err
mgmt
msg

Structs§

DDLinkInfo
NodeInfo

Enums§

ObjRef
Explicitly reference an account, either by numeric identifier or name.
OptObjRef
Reference an account; with the option to implicitly reference self.

Functions§

expect_okfail
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.
get_nodeinfo
sendrecv
Send a telegram and wait for a reply.