pub trait RequestBuilderExt: Sized {
// Required method
fn signed_bcs<T>(self, signed_bcs: &Signed<&T>) -> Result<Self, Error>
where T: Signable + Serialize;
}Expand description
Extension trait on reqwest::RequestBuilder for easily modifying requests
as they’re constructed.
Required Methods§
Sourcefn signed_bcs<T>(self, signed_bcs: &Signed<&T>) -> Result<Self, Error>
fn signed_bcs<T>(self, signed_bcs: &Signed<&T>) -> Result<Self, Error>
Set the request body to a ed25519::Signed<T> serialized to BCS with
corresponding content type header.
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.