pub struct SessionTraceConfig {
pub enabled: bool,
pub capacity: Option<usize>,
}Expand description
Trace buffer configuration for operator-facing control flows.
Fields§
§enabled: bool§capacity: Option<usize>Implementations§
Source§impl SessionTraceConfig
impl SessionTraceConfig
pub fn buffer_capacity(&self) -> usize
Trait Implementations§
Source§impl Clone for SessionTraceConfig
impl Clone for SessionTraceConfig
Source§fn clone(&self) -> SessionTraceConfig
fn clone(&self) -> SessionTraceConfig
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 SessionTraceConfig
impl Debug for SessionTraceConfig
Source§impl Default for SessionTraceConfig
impl Default for SessionTraceConfig
Source§impl<'de> Deserialize<'de> for SessionTraceConfig
impl<'de> Deserialize<'de> for SessionTraceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionTraceConfig
impl RefUnwindSafe for SessionTraceConfig
impl Send for SessionTraceConfig
impl Sync for SessionTraceConfig
impl Unpin for SessionTraceConfig
impl UnsafeUnpin for SessionTraceConfig
impl UnwindSafe for SessionTraceConfig
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