pub trait BindingStore: Send {
// Required methods
fn get(&self, symbol: &str, chain: Option<&str>) -> Option<TokenInfo>;
fn all(&self, symbol: &str) -> Vec<TokenInfo>;
fn save(&mut self, candidate: &Candidate, venue: Option<&str>) -> Result<()>;
}Expand description
The saved bindings.
Required Methods§
fn get(&self, symbol: &str, chain: Option<&str>) -> Option<TokenInfo>
fn save(&mut self, candidate: &Candidate, venue: Option<&str>) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".