Returns a vector containing all variants of `CryptoAlgorithm`.
()
| 22 | impl CryptoAlgorithm { |
| 23 | /// Returns a vector containing all variants of `CryptoAlgorithm`. |
| 24 | pub fn all() -> Vec<Self> { |
| 25 | vec![ |
| 26 | Self::Ed25519, |
| 27 | Self::Secp256k1, |
| 28 | Self::Secp256r1, |
| 29 | Self::Eip191, |
| 30 | Self::CosmosAdr36, |
| 31 | ] |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | impl std::str::FromStr for CryptoAlgorithm { |
nothing calls this directly
no outgoing calls
no test coverage detected