Skip to main content

Module workflow

Module workflow 

Source
Expand description

Bank workflow trait and DKB implementation.

Each bank defines its own complete workflow via the BankOps trait. The workflows compose typed Dialog transitions from protocol.rs.

Compile-time safety: workflow methods take typed dialog states. fetch() takes Dialog<Open> — you can’t call it without authentication.

Structs§

Dkb
DKB (Deutsche Kreditbank) FinTS workflow.
FetchOpts
Options controlling what data to fetch in a single authenticated dialog.
FetchResult
Result of fetching data from an open dialog.
GenericBank
A generic FinTS bank implementation that works with any BankConfig. Used when the bank ID is not in the registry (e.g. custom URL + BLZ).
InitiateNoTanResult
Result when no TAN is required (SCA exemption).
InitiateResult
Result of initiating a connection.

Enums§

AnyBank
Enum dispatch for bank implementations — zero-cost, no dynamic dispatch.
InitiateOutcome
Either we need TAN or we’re already authenticated.

Traits§

BankOps
Each bank implements its own workflow as typed Dialog transitions.

Functions§

bank_ops
Look up a bank implementation by its BLZ (Bankleitzahl).
bank_ops_with_config
Create a bank implementation from a custom BankConfig (for non-registry banks).