pub struct DispatchSidecar { /* private fields */ }Expand description
Sidecar collector populated by the credential Serialize impl while a
DispatchCaptureGuard is active. The dispatch layer reads the
collected map after serialization completes and emits it as the
_credentials envelope key (AUTHZ-CRED-S01-output §3, Q-WIRE-1).
Implementations§
Source§impl DispatchSidecar
impl DispatchSidecar
Sourcepub fn drain(&mut self) -> HashMap<CredentialId, CapturedCredential>
pub fn drain(&mut self) -> HashMap<CredentialId, CapturedCredential>
Drain the collected entries. The dispatch layer calls this after the
outer Serialize pass completes.
Trait Implementations§
Source§impl Debug for DispatchSidecar
impl Debug for DispatchSidecar
Source§impl Default for DispatchSidecar
impl Default for DispatchSidecar
Source§fn default() -> DispatchSidecar
fn default() -> DispatchSidecar
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispatchSidecar
impl RefUnwindSafe for DispatchSidecar
impl Send for DispatchSidecar
impl Sync for DispatchSidecar
impl Unpin for DispatchSidecar
impl UnsafeUnpin for DispatchSidecar
impl UnwindSafe for DispatchSidecar
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