pub trait ExtractCommonParams {
// Required methods
fn action(&self) -> &'static str;
fn body(&self) -> Vec<u8> ⓘ;
// Provided methods
fn url(&self) -> &'static str { ... }
fn version(&self) -> Version { ... }
fn region(&self) -> Option<Region> { ... }
fn headers(
&self,
secret_id: &impl AsRef<str>,
secret_key: &impl AsRef<str>,
) -> HashMap<String, String> { ... }
}Required Methods§
Provided Methods§
fn url(&self) -> &'static str
fn version(&self) -> Version
fn region(&self) -> Option<Region>
fn headers( &self, secret_id: &impl AsRef<str>, secret_key: &impl AsRef<str>, ) -> HashMap<String, String>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.