pub trait IntoCoins {
// Required method
fn into_coins(self) -> Result<Vec<String>, TesseraError>;
}Expand description
Accepted shapes for a coin argument: one symbol or any iterable of them.
Required Methods§
Sourcefn into_coins(self) -> Result<Vec<String>, TesseraError>
fn into_coins(self) -> Result<Vec<String>, TesseraError>
Coerce into a non-empty list of coin symbols.
§Errors
Returns TesseraError::InvalidArgument when the result is empty.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".