pub struct DeferredSignerSender { /* private fields */ }Expand description
Sender for wiring up an event stream message signer after HTTP request signing.
During serialization, a DeferredSignerSender is placed in the config bag.
After HTTP signing completes, the auth scheme retrieves it and sends the
concrete signer implementation through the channel.
Implementations§
Source§impl DeferredSignerSender
impl DeferredSignerSender
Sourcepub fn new() -> (DeferredSignerReceiver, Self)
pub fn new() -> (DeferredSignerReceiver, Self)
Creates a new sender/receiver pair.
Trait Implementations§
Source§impl Debug for DeferredSignerSender
impl Debug for DeferredSignerSender
Source§impl Storable for DeferredSignerSender
impl Storable for DeferredSignerSender
Source§type Storer = StoreReplace<DeferredSignerSender>
type Storer = StoreReplace<DeferredSignerSender>
Specify how an item is stored in the config bag, e.g.
StoreReplace and StoreAppendAuto Trait Implementations§
impl !Freeze for DeferredSignerSender
impl RefUnwindSafe for DeferredSignerSender
impl Send for DeferredSignerSender
impl Sync for DeferredSignerSender
impl Unpin for DeferredSignerSender
impl UnsafeUnpin for DeferredSignerSender
impl UnwindSafe for DeferredSignerSender
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more