Expand description
Module containing utility functions and error types.
This module provides common utilities and error types used throughout the library, including exception types for handling illegal arguments and states.
Re-exports§
pub use error::IllegalArgumentException;
pub use error::IllegalStateException;
Modules§
- error
- Module containing custom error types used throughout the library.
Structs§
- Proxy
- Simple class representing a Proxy configuration.
Functions§
- clean_
message - Clean the message from newlines and carriage returns and convert it to lowercase. Also remove all brackets.
- parse_
arguments - Parses a comma-separated string input into a vector of string slices (
Vec<&str>
). - setup_
logger - Sets up a logger for the application
- setup_
logger_ with_ level - Sets up a logger with a user-specified log level for platforms
- setup_
signal_ hook - Sets up cross-platform signal handling for graceful shutdown. On Unix systems, handles SIGINT and SIGTERM signals. On Windows, handles Ctrl+C signal.