pub struct Config {
pub config: Config,
}
Expand description
Thinly wrap Http Signature Normalization’s config type
Fields§
§config: Config
Expose the inner Config
Implementations§
Source§impl Config
impl Config
Sourcepub fn begin_sign(
&self,
method: &Method,
path_and_query: Option<&PathAndQuery>,
headers: HeaderMap,
) -> Result<Unsigned, PrepareSignError>
pub fn begin_sign( &self, method: &Method, path_and_query: Option<&PathAndQuery>, headers: HeaderMap, ) -> Result<Unsigned, PrepareSignError>
Begin the process of signing a request
The types required from this function can be produced from http’s Request and URI types.
Sourcepub fn begin_verify(
&self,
method: &Method,
path_and_query: Option<&PathAndQuery>,
headers: HeaderMap,
) -> Result<Unverified, PrepareVerifyError>
pub fn begin_verify( &self, method: &Method, path_and_query: Option<&PathAndQuery>, headers: HeaderMap, ) -> Result<Unverified, PrepareVerifyError>
Begin the process of verifying a request
The types required from this function can be produced from http’s Request and URI types.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more