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§
Structs§
Enums§
- ObjRef
- Explicitly reference an account, either by numeric identifier or name.
- OptObj
Ref - 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.