aboutsummaryrefslogtreecommitdiff
path: root/src/smtp.rs
diff options
context:
space:
mode:
authorMroik <mroik@delayed.space>2026-04-03 17:01:22 +0200
committerMroik <mroik@delayed.space>2026-04-13 06:55:26 +0200
commit6514efe4a5a9cae3707c334290817f628e9c013d (patch)
treec809fe872f5ca57c9765abfa46f05770237869ec /src/smtp.rs
parenteda31c4e25979e20f814510b5142ce79c8a9d24e (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.rs')
0 files changed, 0 insertions, 0 deletions
XMR address: 854DmXNrxULU3ZFJVs4Wc8PFhbq29RhqHhY8W6cdWrtFN3qmooKyyeYPcDzZTNRxphhJ5UzASQfAdEMwSteVqymk28aLhqj