pub enum IncludeContext {
AllServers,
ThisServer,
None,
}Expand description
Context inclusion mode for sampling.
thisServer and allServers are soft-deprecated in 2025-11-25.
Variants§
AllServers
Include context from all servers (soft-deprecated).
ThisServer
Include context only from this server (soft-deprecated).
None
Do not include additional context.
Trait Implementations§
Source§impl Clone for IncludeContext
impl Clone for IncludeContext
Source§fn clone(&self) -> IncludeContext
fn clone(&self) -> IncludeContext
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 IncludeContext
impl Debug for IncludeContext
Source§impl<'de> Deserialize<'de> for IncludeContext
impl<'de> Deserialize<'de> for IncludeContext
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
Source§impl Display for IncludeContext
impl Display for IncludeContext
Source§impl Hash for IncludeContext
impl Hash for IncludeContext
Source§impl PartialEq for IncludeContext
impl PartialEq for IncludeContext
Source§impl Serialize for IncludeContext
impl Serialize for IncludeContext
impl Copy for IncludeContext
impl Eq for IncludeContext
impl StructuralPartialEq for IncludeContext
Auto Trait Implementations§
impl Freeze for IncludeContext
impl RefUnwindSafe for IncludeContext
impl Send for IncludeContext
impl Sync for IncludeContext
impl Unpin for IncludeContext
impl UnsafeUnpin for IncludeContext
impl UnwindSafe for IncludeContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.