Skip to main content Crate rustfs_utils Copy item path Source pub use ip ::*;pub use logging ::*;ip logging ExternalEnvCompatReport EnvParseOutcome Outcome of reading and parsing an environment variable. apply_external_env_compat Copy supported external-prefix variables such as MINIO_* into their
canonical RUSTFS_* names in the current process when the canonical key is
missing. build_external_env_compat_report Build compatibility plan between source-prefixed variables and RUSTFS_*. get_env_bool Retrieve an environment variable as a boolean, with a default value if not set or parsing fails. get_env_bool_with_aliases get_env_f32 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails. get_env_f64 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails. get_env_i8 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails.
8-bit type: signed i8 get_env_i16 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails.
16-bit type: signed i16 get_env_i32 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails.
32-bit type: signed i32 get_env_i64 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails. get_env_i32_with_aliases Retrieve an i32 environment variable with deprecated aliases and a default fallback. get_env_opt_bool Retrieve an environment variable as a boolean, returning None if not set or parsing fails. get_env_opt_f32 Retrieve an environment variable as a specific type, returning None if not set or parsing fails. get_env_opt_f64 Retrieve an environment variable as a specific type, returning None if not set or parsing fails. get_env_opt_i8 Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
8-bit type: signed i8 get_env_opt_i16 Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
16-bit type: signed i16 get_env_opt_i32 Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
32-bit type: signed i32 get_env_opt_i64 Retrieve an environment variable as a specific type, returning None if not set or parsing fails. get_env_opt_opt_i64 Retrieve an environment variable as a specific type, returning Option<Option> if not set or parsing fails. get_env_opt_str Retrieve an environment variable as a String, returning None if not set. get_env_opt_u8 Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
8-bit type: unsigned u8 get_env_opt_u16 Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
16-bit type: unsigned u16 get_env_opt_u32 Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
32-bit type: unsigned u32 get_env_opt_u64 Retrieve an environment variable as a specific type, returning None if not set or parsing fails. get_env_opt_u64_with_aliases Retrieve an environment variable as an unsigned 64-bit integer, returning None if not set or parsing fails.
Deprecated aliases are also supported with warning logging. get_env_opt_usize Retrieve an environment variable as a specific type, returning None if not set or parsing fails. get_env_parse_outcome Read an environment variable and report whether it is absent, present but
malformed, or parsed successfully. get_env_str Retrieve an environment variable as a String, with a default value if not set. get_env_str_with_aliases get_env_u8 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails.
8-bit type: unsigned u8 get_env_u16 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails.
16-bit type: unsigned u16 get_env_u32 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails.
32-bit type: unsigned u32 get_env_u64 Retrieve an environment variable as a specific type, with a default value if not set or parsing fails. get_env_u16_opt Retrieve an environment variable as a specific type, returning None if not set or parsing fails.
16-bit type: unsigned u16 get_env_usize Retrieve an environment variable as a specific type, with a default value if not set or parsing fails. get_env_usize_opt Retrieve an environment variable as a specific type, returning None if not set or parsing fails.