pub enum RpcTraceMode {
Full,
Summary,
RequestOnly,
ResponseMeta,
}Expand description
Disclosure level for JSONL RPC traces.
Variants§
Full
Record complete request and response bodies.
Summary
Record method, hashes, sizes, status, and timing without bodies.
RequestOnly
Record the complete request but only response metadata.
ResponseMeta
Record request and response metadata without either body.
Trait Implementations§
Source§impl Clone for RpcTraceMode
impl Clone for RpcTraceMode
Source§fn clone(&self) -> RpcTraceMode
fn clone(&self) -> RpcTraceMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RpcTraceMode
Source§impl Debug for RpcTraceMode
impl Debug for RpcTraceMode
Source§impl Default for RpcTraceMode
impl Default for RpcTraceMode
Source§fn default() -> RpcTraceMode
fn default() -> RpcTraceMode
Returns the “default value” for a type. Read more
impl Eq for RpcTraceMode
Source§impl PartialEq for RpcTraceMode
impl PartialEq for RpcTraceMode
impl StructuralPartialEq for RpcTraceMode
Auto Trait Implementations§
impl Freeze for RpcTraceMode
impl RefUnwindSafe for RpcTraceMode
impl Send for RpcTraceMode
impl Sync for RpcTraceMode
impl Unpin for RpcTraceMode
impl UnsafeUnpin for RpcTraceMode
impl UnwindSafe for RpcTraceMode
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