pub enum PerActorKey {
Bool(bool),
Replacement(Regex, String),
}Expand description
How to produce metrics for actor keys.
Variants§
Bool(bool)
Produce metrics for all keys.
Replacement(Regex, String)
Combine keys into “groups” by pattern.
Trait Implementations§
Source§impl Debug for PerActorKey
impl Debug for PerActorKey
Source§impl<'de> Deserialize<'de> for PerActorKey
impl<'de> Deserialize<'de> for PerActorKey
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 PerActorKey
impl RefUnwindSafe for PerActorKey
impl Send for PerActorKey
impl Sync for PerActorKey
impl Unpin for PerActorKey
impl UnsafeUnpin for PerActorKey
impl UnwindSafe for PerActorKey
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