pub trait ProviderCore: Send + Sync {
// Required method
fn id(&self) -> Provider;
// Provided method
fn not_supported(&self, operation: Operation) -> FinanceError { ... }
}Expand description
Identity shared by every capability trait: the provider id and the
NotSupported error constructor used by default method bodies.
Required Methods§
Provided Methods§
Sourcefn not_supported(&self, operation: Operation) -> FinanceError
fn not_supported(&self, operation: Operation) -> FinanceError
The error a default method body returns for an unimplemented operation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".