containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
195 stars 45 forks source link

server: Derive Debug trait for TtrpcContext #36

Closed jodh-intel closed 4 years ago

jodh-intel commented 4 years ago

Add a derive attribute to make the compiler add Debug trait support for TtrpcContext. This is required to support tracing (instrumentation) for the Kata Containers rust agent, but is also a useful feature if you simply wish to print/log a context.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com