pub struct KmsResponseHandler { /* private fields */ }Expand description
Handle for resolving KMS responses from Mercury.
This is separated from KmsClient so the Mercury event loop can resolve pending requests without holding the KmsClient lock (which would deadlock during initialize/get_key).
Implementations§
Source§impl KmsResponseHandler
impl KmsResponseHandler
Sourcepub async fn handle_kms_message(&self, data: &Value)
pub async fn handle_kms_message(&self, data: &Value)
Handle a KMS response that arrived via Mercury WebSocket.
Trait Implementations§
Source§impl Clone for KmsResponseHandler
impl Clone for KmsResponseHandler
Source§fn clone(&self) -> KmsResponseHandler
fn clone(&self) -> KmsResponseHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KmsResponseHandler
impl !RefUnwindSafe for KmsResponseHandler
impl Send for KmsResponseHandler
impl Sync for KmsResponseHandler
impl Unpin for KmsResponseHandler
impl UnsafeUnpin for KmsResponseHandler
impl !UnwindSafe for KmsResponseHandler
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