#[repr(u8)]pub enum ProfilerCategory {
Show 22 variants
Query = 0,
Txn = 1,
Storage = 2,
Plan = 3,
Cdc = 4,
Flow = 5,
Subscription = 6,
Server = 7,
Wire = 8,
Auth = 9,
Catalog = 10,
Engine = 11,
Mutate = 12,
Transport = 13,
Task = 14,
Policy = 15,
ExternC = 16,
Cache = 17,
RowShape = 18,
Api = 19,
Actor = 20,
Lifecycle = 21,
}Variants§
Query = 0
Txn = 1
Storage = 2
Plan = 3
Cdc = 4
Flow = 5
Subscription = 6
Server = 7
Wire = 8
Auth = 9
Catalog = 10
Engine = 11
Mutate = 12
Transport = 13
Task = 14
Policy = 15
ExternC = 16
Cache = 17
RowShape = 18
Api = 19
Actor = 20
Lifecycle = 21
Implementations§
Source§impl ProfilerCategory
impl ProfilerCategory
pub const fn as_id(self) -> ProfilerCategoryId
pub const fn from_id(id: ProfilerCategoryId) -> Option<Self>
pub fn from_span_name(name: &str) -> Option<Self>
pub const fn name(self) -> &'static str
Trait Implementations§
Source§impl Clone for ProfilerCategory
impl Clone for ProfilerCategory
Source§fn clone(&self) -> ProfilerCategory
fn clone(&self) -> ProfilerCategory
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 ProfilerCategory
Source§impl Debug for ProfilerCategory
impl Debug for ProfilerCategory
Source§impl<'de> Deserialize<'de> for ProfilerCategory
impl<'de> Deserialize<'de> for ProfilerCategory
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
impl Eq for ProfilerCategory
Source§impl Hash for ProfilerCategory
impl Hash for ProfilerCategory
Source§impl PartialEq for ProfilerCategory
impl PartialEq for ProfilerCategory
Source§impl Serialize for ProfilerCategory
impl Serialize for ProfilerCategory
impl StructuralPartialEq for ProfilerCategory
Auto Trait Implementations§
impl Freeze for ProfilerCategory
impl RefUnwindSafe for ProfilerCategory
impl Send for ProfilerCategory
impl Sync for ProfilerCategory
impl Unpin for ProfilerCategory
impl UnsafeUnpin for ProfilerCategory
impl UnwindSafe for ProfilerCategory
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more