diff options
| author | Mroik <mroik@delayed.space> | 2026-04-03 17:01:22 +0200 |
|---|---|---|
| committer | Mroik <mroik@delayed.space> | 2026-04-13 06:55:26 +0200 |
| commit | 6514efe4a5a9cae3707c334290817f628e9c013d (patch) | |
| tree | c809fe872f5ca57c9765abfa46f05770237869ec /src/smtp_server.rs | |
| parent | eda31c4e25979e20f814510b5142ce79c8a9d24e (diff) | |
Refactor to avoid double checks on types
The various Query enums limit themselves to checking which variant they
are before choosing a which function to call to process the request.
Because they are enums with multiple variants, to unpack we have to
check again which variant they are.
Unpack before the call and modify function signatures to receive the
already unpacked values.
Signed-off-by: Mroik <mroik@delayed.space>
Diffstat (limited to 'src/smtp_server.rs')
0 files changed, 0 insertions, 0 deletions
