Module util

Module util 

Source
Expand description

Utility modules for expect operations.

This module provides various utilities for timeout handling, byte manipulation, backpressure management, memory-efficient buffers, and zero-copy I/O operations.

Re-exports§

pub use backpressure::Backpressure;
pub use backpressure::RateLimiter;
pub use backpressure::TokenBucket;
pub use buffer::AtomicBufferSize;
pub use buffer::LargeBufferConfig;
pub use buffer::RingBuffer;
pub use buffer::SpillBuffer;
pub use buffer::allocate_page_aligned;
pub use buffer::page_size;
pub use bytes::EscapedBytes;
pub use bytes::escape_bytes;
pub use bytes::find_all_patterns;
pub use bytes::find_pattern;
pub use bytes::hexdump;
pub use bytes::replace_pattern;
pub use bytes::strip_ansi;
pub use bytes::to_visible_string;
pub use bytes::unescape_bytes;
pub use timeout::Deadline;
pub use timeout::TimeoutConfig;
pub use timeout::TimeoutExt;
pub use zerocopy::BorrowedView;
pub use zerocopy::BytesBuffer;
pub use zerocopy::ReadPool;
pub use zerocopy::VecWriter;
pub use zerocopy::ZeroCopySource;

Modules§

backpressure
Backpressure and flow control utilities.
buffer
Memory-efficient buffer implementations.
bytes
Byte manipulation utilities.
timeout
Timeout utilities.
zerocopy
Zero-copy I/O utilities.