pub struct ClientLogging { /* private fields */ }Implementations§
Source§impl ClientLogging
impl ClientLogging
pub fn new(options: ClientLoggingOptions) -> Self
pub fn with_metadata(self, log_metadata: bool) -> Self
Trait Implementations§
Source§impl ClientMiddleware for ClientLogging
impl ClientMiddleware for ClientLogging
fn pre<'a, 'call>( &'a self, context: &'a ClientContext<'a>, request: &'a mut ClientRequest<'call, 'a>, ) -> BoxMiddlewareFuture<'a>
fn post<'a>( &'a self, context: &'a ClientContext<'a>, outcome: ClientCallOutcome<'a>, ) -> BoxMiddlewareFuture<'a>
Source§impl Clone for ClientLogging
impl Clone for ClientLogging
Source§fn clone(&self) -> ClientLogging
fn clone(&self) -> ClientLogging
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 moreSource§impl Debug for ClientLogging
impl Debug for ClientLogging
Source§impl Default for ClientLogging
impl Default for ClientLogging
Source§fn default() -> ClientLogging
fn default() -> ClientLogging
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientLogging
impl RefUnwindSafe for ClientLogging
impl Send for ClientLogging
impl Sync for ClientLogging
impl Unpin for ClientLogging
impl UnsafeUnpin for ClientLogging
impl UnwindSafe for ClientLogging
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