pub enum BucketEncoding {
Legacy,
Array,
Base64,
Zstd,
}
Expand description
All supported metric bucket encodings.
Variants§
Legacy
The default legacy encoding.
A simple JSON array of numbers.
Array
The array encoding.
Uses already the dynamic value format but still encodes all values as a JSON number array.
Base64
Base64 encoding.
Encodes all values as Base64.
Zstd
Zstd.
Compresses all values with zstd.
Trait Implementations§
source§impl Clone for BucketEncoding
impl Clone for BucketEncoding
source§fn clone(&self) -> BucketEncoding
fn clone(&self) -> BucketEncoding
Returns a copy 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 BucketEncoding
impl Debug for BucketEncoding
source§impl Default for BucketEncoding
impl Default for BucketEncoding
source§fn default() -> BucketEncoding
fn default() -> BucketEncoding
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BucketEncoding
impl<'de> Deserialize<'de> for BucketEncoding
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 PartialEq for BucketEncoding
impl PartialEq for BucketEncoding
source§impl Serialize for BucketEncoding
impl Serialize for BucketEncoding
impl Copy for BucketEncoding
impl StructuralPartialEq for BucketEncoding
Auto Trait Implementations§
impl Freeze for BucketEncoding
impl RefUnwindSafe for BucketEncoding
impl Send for BucketEncoding
impl Sync for BucketEncoding
impl Unpin for BucketEncoding
impl UnwindSafe for BucketEncoding
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)