Struct aws_sig_auth::event_stream::SigV4Signer
source · pub struct SigV4Signer { /* private fields */ }
Expand description
Event Stream SigV4 signing implementation.
Implementations§
source§impl SigV4Signer
impl SigV4Signer
pub fn new(properties: SharedPropertyBag) -> Self
Trait Implementations§
source§impl Debug for SigV4Signer
impl Debug for SigV4Signer
source§impl SignMessage for SigV4Signer
impl SignMessage for SigV4Signer
fn sign(&mut self, message: Message) -> Result<Message, SignMessageError>
source§fn sign_empty(&mut self) -> Option<Result<Message, SignMessageError>>
fn sign_empty(&mut self) -> Option<Result<Message, SignMessageError>>
SigV4 requires an empty last signed message to be sent.
Other protocols do not require one.
Return
Some(_)
to send a signed last empty message, before completing the stream.
Return None
to not send one and terminate the stream immediately.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§
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