Struct aws_sig_auth::signer::SigV4Signer
source · [−]pub struct SigV4Signer { /* private fields */ }
Implementations
sourceimpl SigV4Signer
impl SigV4Signer
pub fn new() -> Self
sourcepub fn sign(
&self,
operation_config: &OperationSigningConfig,
request_config: &RequestConfig<'_>,
credentials: &Credentials,
request: &mut Request<SdkBody>
) -> Result<Signature, SigningError>
pub fn sign(
&self,
operation_config: &OperationSigningConfig,
request_config: &RequestConfig<'_>,
credentials: &Credentials,
request: &mut Request<SdkBody>
) -> Result<Signature, SigningError>
Sign a request using the SigV4 Protocol
Although this function may be used, end users will not typically
interact with this code. It is generally used via middleware in the request pipeline. See SigV4SigningStage
.
Trait Implementations
sourceimpl Clone for SigV4Signer
impl Clone for SigV4Signer
sourcefn clone(&self) -> SigV4Signer
fn clone(&self) -> SigV4Signer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SigV4Signer
impl Debug for SigV4Signer
sourceimpl Default for SigV4Signer
impl Default for SigV4Signer
sourcefn default() -> SigV4Signer
fn default() -> SigV4Signer
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SigV4Signer
impl Send for SigV4Signer
impl Sync for SigV4Signer
impl Unpin for SigV4Signer
impl UnwindSafe for SigV4Signer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more