Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Implement std::fmt::Debug for eventstore::Connection #36

@wingertge

Description

@wingertge

I'm trying to use the tracing crate to monitor my functions that access eventstore and detect any potential bottlenecks, but its instrumentation requires all parameters to implement fmt::Debug. Connection doesn't implement that right now, forcing me to wrap and unwrap the connection to enable proper instrumentation. Implementing Debug on the Connection struct would solve this issue.

I'm not making a pull request because I'm not sure about the internals of the crate, so I don't know what should be output in the Debug fmt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions