pub struct CounterSerializer { /* private fields */ }
Expand description

| @brief | | CounterSerializer is the serializer | for Counter type. | | CounterSerializer takes in a blob that | contains a Counter, and serializes | it into a BlobProto protocol buffer. | At the moment only int64_t counters | are supported (since it’s the only once | that is really used). |

Implementations§

source§

impl CounterSerializer

source

pub fn serialize( &mut self, pointer: *const c_void, type_meta: TypeMeta, name: &String, acceptor: SerializationAcceptor )

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more