Skip to main content

Crate comdirect_rest_api

Crate comdirect_rest_api 

Source
Expand description

comdirect-rest-api is a high-availability client library for the comdirect REST API.

The crate is organized in layers:

  • session is the orchestration layer (auth lifecycle, refresh worker, callbacks)
  • accounts and brokerage are typed business endpoint facades
  • internal infrastructure and shared modules handle HTTP, retry, parsing, and panic recovery

The public API intentionally exposes only typed operations. Raw JSON endpoint calls are kept internal.

Re-exports§

pub use auth::LoginChallenge;
pub use auth::TanAction;
pub use error::ComdirectError;
pub use error::Result;
pub use session::Session;
pub use session::SessionConfig;
pub use types::SessionStateType;

Modules§

accounts
auth
brokerage
error
session
types

Macros§

log_debug
log_error
log_info
log_warn

Functions§

wait_for_shutdown_signal
Waits for an OS shutdown signal (SIGINT/SIGTERM) and then returns.