Expand description
Provides configuration to the system and the application.
Macrosยง
- eui48_
from_ env - Reads an eui48 at compile time from the given environment variable, produces an
[u8; 6], matched to the endianness of the target. - i8_
from_ env_ or - Reads an
i8at compile time from the given environment variable, with a default. - i16_
from_ env_ or - Reads an
i16at compile time from the given environment variable, with a default. - i32_
from_ env_ or - Reads an
i32at compile time from the given environment variable, with a default. - i64_
from_ env_ or - Reads an
i64at compile time from the given environment variable, with a default. - ipv4_
addr_ from_ env - Reads an IPv4 address at compile time from the given environment variable, produces an
Ipv4Addr. - ipv4_
addr_ from_ env_ or - Reads an IPv4 address at compile time from the given environment variable, produces an
Ipv4Addr. - ipv6_
addr_ from_ env - Reads an IPv6 address at compile time from the given environment variable, produces an
Ipv6Addr. - ipv6_
addr_ from_ env_ or - Reads an IPv6 address at compile time from the given environment variable, produces an
Ipv6Addr. - str_
from_ env - Reads a value at compile time from the given environment variable.
- str_
from_ env_ or - Reads a value at compile time from the given environment variable, with a default.
- u8_
from_ env_ or - Reads a
u8at compile time from the given environment variable, with a default. - u16_
from_ env_ or - Reads a
u16at compile time from the given environment variable, with a default. - u32_
from_ env_ or - Reads a
u32at compile time from the given environment variable, with a default. - u64_
from_ env_ or - Reads a
u64at compile time from the given environment variable, with a default. - usize_
from_ env_ or - Reads a
usizeat compile time from the given environment variable, with a default.