Crate channels_console

Crate channels_console 

Source

Re-exports§

pub use channels_guard::ChannelsGuard;
pub use channels_guard::ChannelsGuardBuilder;

Modules§

channels_guard

Macros§

channel
Instrument a channel creation to wrap it with debugging proxies. Currently only supports bounded, unbounded and oneshot channels.
stream
Instrument a stream to track its item yields.

Structs§

ChannelLogs
Serializable log response containing sent and received logs for channels.
ChannelsJson
Wrapper for channels-only JSON response
CombinedJson
Combined wrapper for both channels and streams JSON response
LogEntry
A single log entry for a message sent or received.
SerializableChannelStats
Serializable version of channel statistics for JSON responses.
SerializableStreamStats
Serializable version of stream statistics for JSON responses.
StreamLogs
Serializable log response containing yielded logs for streams.
StreamsJson
Wrapper for streams-only JSON response

Enums§

ChannelState
State of a instrumented channel.
ChannelType
Type of a channel.
Format
Format of the output produced by ChannelsGuard on drop.

Functions§

format_bytes
Format bytes into human-readable units (B, KB, MB, GB, TB).