pub trait RecordAsRequester {
// Required method
fn maybe_record_as_requester(&self);
}Required Methods§
Sourcefn maybe_record_as_requester(&self)
fn maybe_record_as_requester(&self)
Record self as the Requester on the current LogContext, if
any.
First writer wins — calling on a request that already has a requester recorded is a no-op.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl RecordAsRequester for BrowserSession
impl RecordAsRequester for BrowserSession
fn maybe_record_as_requester(&self)
Source§impl RecordAsRequester for Client
impl RecordAsRequester for Client
fn maybe_record_as_requester(&self)
Source§impl RecordAsRequester for CompatSession
impl RecordAsRequester for CompatSession
fn maybe_record_as_requester(&self)
Source§impl RecordAsRequester for Session
impl RecordAsRequester for Session
Source§fn maybe_record_as_requester(&self)
fn maybe_record_as_requester(&self)
Records the OAuth2 session’s user (without a username) when it has
one, otherwise the client acting on its own behalf
(client-credentials).