Expand description
The updatehub-sdk crate is used to communicate with UpdateHub Agent.
When running an agent instance, the API provides some methods for communicating with UpdateHub:
Modules§
- api
- Contains all the structures of the request and response from the agent.
- listener
- Used to communicate with UpdateHub and listen to appropriate callbacks when the state changes.
Structs§
- Client
- The
Clientallow for requests to be sent.
Enums§
- Error
- UpdateHub SDK error type.
Type Aliases§
- Result
- Type alias of
Resultwhere theErris aupdatehub_sdk::Error.