[Snippet rust]
```rust
fn try_from(bank: &BankNames) -> Result<Self, Self::Error> {
        match bank {
            BankNames::AbnAmro => Ok(Self::Abnamro),
            BankNames::AsnBank => Ok(Self::Asn),
            BankNames::Ing => Ok(Self::Ing),
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs :: try_from (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/test_utils/tests/connectors/selenium.rs :: handle_test_error
- hyperswitch/crates/hyperswitch_connectors/src/connectors/powertranz.rs :: get_webhook_event_type
- hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless.rs :: should_call_connector_customer
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paypal.rs :: get_request_body
- hyperswitch/crates/router/tests/connectors/zen.rs :: should_refund_auto_captured_payment