pub struct HmacCursorSigner { /* private fields */ }Expand description
Signs cursor-affinity envelopes with a shared HMAC-SHA256 key. The same key
must be configured on every proxy instance so a token wrapped on one verifies
on another (the whole point of the stateless design).
Implementations§
Trait Implementations§
Source§impl CursorSigner for HmacCursorSigner
impl CursorSigner for HmacCursorSigner
Auto Trait Implementations§
impl Freeze for HmacCursorSigner
impl RefUnwindSafe for HmacCursorSigner
impl Send for HmacCursorSigner
impl Sync for HmacCursorSigner
impl Unpin for HmacCursorSigner
impl UnsafeUnpin for HmacCursorSigner
impl UnwindSafe for HmacCursorSigner
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request